OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago2003-04-12 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 12 Apr 2003 17:41:26 +0000 (17:41 +0000)]
2003-04-12  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh: Add missing opaque declarations.
* gdbarch.h: Regnerate.
* symtab.h: Add missing opaque declarations.
* value.h, target.h, symfile.h, stabsread.h: Ditto.
* x86-64-tdep.h, xmodem.h, monitor.h, typeprint.h: Ditto.
* srec.h, solib-svr4.h, source.h, inferior.h: Ditto.
* ser-unix.h, serial.h, remote-utils.h, gdbcore.h: Ditto.
* ppc-tdep.h, ocd.h, mips-tdep.h, gdbtypes.h: Ditto.
* buildsym.h, builtin-regs.h, linespec.h, language.h: Ditto.
* i387-tdep.h, gdbthread.h, event-top.h, gdb.h: Ditto.
* dwarf2cfi.h, doublest.h, disasm.h, cp-abi.h: Ditto.
* cli-out.h, c-lang.h, ax-gdb.h, arch-utils.h: Ditto.
* ada-lang.h, config/nm-lynx.h, config/nm-linux.h: Ditto.
* config/sparc/tm-sp64.h, config/rs6000/tm-rs6000.h: Ditto.
* config/pa/tm-hppah.h, config/m68k/tm-delta68.h: Ditto.
* cli/cli-setshow.h, cli/cli-script.h: Ditto.

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other
Alexandre Oliva [Sat, 12 Apr 2003 08:50:28 +0000 (08:50 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Adjust two other
occurrences of the same test changed in the previous patch.
Optimize.

21 years ago2003-04-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 12 Apr 2003 04:27:29 +0000 (04:27 +0000)]
2003-04-11  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Return this frame's "id".
(legacy_get_prev_frame): Set prev's frame ID code_addr to the
function start.
(legacy_saved_regs_this_id): Replace function body with
internal-error.
(deprecated_frame_xmalloc): Mark the frame ID as valid, use
FRAME_OBSTACK_ZALLOC.
(create_new_frame): Mark the frame ID as valid.

21 years ago* elfxx-mips.c (mips_elf_get_global_gotsym_index): New.
Alexandre Oliva [Sat, 12 Apr 2003 00:31:42 +0000 (00:31 +0000)]
* elfxx-mips.c (mips_elf_get_global_gotsym_index): New.
(mips_elf_calculate_relocation): Decay GOT_PAGE/GOT_OFST to
GOT_DISP/addend only if the symbol got a global GOT entry.

21 years ago* Makefile.in (libbfd_h): Added missing setting.
Alexandre Oliva [Sat, 12 Apr 2003 00:31:30 +0000 (00:31 +0000)]
* Makefile.in (libbfd_h): Added missing setting.
* mips-tdep.c (mips_gdbarch_init): Set disassembler_options
according to the selected ABI.

21 years agodaily update
Alan Modra [Sat, 12 Apr 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 12 Apr 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-04-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 11 Apr 2003 20:56:40 +0000 (20:56 +0000)]
2003-04-11  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb_indent.sh: Recognize pid_t and sigset_t as types.

21 years ago* gdb.c++/derivation.exp, gdb.c++/overload.exp,
Jim Blandy [Fri, 11 Apr 2003 19:57:33 +0000 (19:57 +0000)]
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.cc: Place comments on the lines to which the
marker function might return.
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: Look for those comments to check that we've
returned to the right place, instead of checking line numbers.

21 years ago2003-04-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Apr 2003 18:15:40 +0000 (18:15 +0000)]
2003-04-11  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_SAVED_PC_AFTER_CALL): Deprecate
SAVED_PC_AFTER_CALL.
* gdbarch.h, gdbarch.c: Regenerate.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Update.
* x86-64-tdep.c (x86_64_init_abi): Update.
* vax-tdep.c (vax_gdbarch_init): Update.
* v850-tdep.c (v850_gdbarch_init): Update.
* sparc-tdep.c (sparc_gdbarch_init): Update.
* sh-tdep.c (sh_gdbarch_init): Update.
* s390-tdep.c (s390_gdbarch_init): Update.
* rs6000-tdep.c (rs6000_gdbarch_init): Update.
* ns32k-tdep.c (ns32k_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* mcore-tdep.c (mcore_gdbarch_init): Update.
* m68k-tdep.c (m68k_gdbarch_init): Update.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Update.
* ia64-tdep.c (ia64_gdbarch_init): Update.
(ia64_saved_pc_after_call): Update declaration.
* i386ly-tdep.c (i386lynx_init_abi): Update.
* i386-tdep.c (i386_gdbarch_init): Update.
* hppa-tdep.c (hppa_gdbarch_init): Update.
* h8300-tdep.c (h8300_gdbarch_init): Update.
* frv-tdep.c (frv_gdbarch_init): Update.
* cris-tdep.c (cris_gdbarch_init): Update.
* avr-tdep.c (avr_gdbarch_init): Update.
* arm-tdep.c (arm_gdbarch_init): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* ns32knbsd-nat.c (frame_num_args): Update.
* ns32k-tdep.c (umax_frame_num_args): Update.
* mips-tdep.c (mips_init_frame_pc_first): Update.
* infrun.c (step_over_function): Update.
* i386-linux-tdep.c (skip_hurd_resolver): Update.
* i386-interix-tdep.c (i386_interix_back_one_frame): Update.
* config/sparc/tm-sparc.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
(DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/pa/tm-hppa.h (DEPRECATED_SAVED_PC_AFTER_CALL): Update.
* arm-linux-tdep.c (skip_hurd_resolver): Update.
* arch-utils.c (init_frame_pc_default): Update.
* alpha-tdep.c (alpha_init_frame_pc_first): Update.
* x86-64-tdep.h (x86_64_linux_saved_pc_after_call): Update
declaration.

21 years ago2003-04-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Apr 2003 17:40:23 +0000 (17:40 +0000)]
2003-04-11  Andrew Cagney  <cagney@redhat.com>

* generic/gdbtk-stack.c (get_frame_name): Use get_frame_pc and
get_next_frame.

21 years ago2003-04-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Apr 2003 14:56:40 +0000 (14:56 +0000)]
2003-04-11  Andrew Cagney  <cagney@redhat.com>

* i387-tdep.c: Update copyright.
(i387_to_double): Delete function.
(double_to_i387): Delete function.

21 years ago2003-04-11 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 11 Apr 2003 13:55:32 +0000 (13:55 +0000)]
2003-04-11  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.threads/pthreads.exp (test_startup): When setting a breakpoint
        match on sourcefile name, instead of directory name.

21 years ago* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.
Alexandre Oliva [Fri, 11 Apr 2003 03:58:39 +0000 (03:58 +0000)]
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.
* */configure: Rebuilt.

21 years ago2003-04-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 11 Apr 2003 03:12:58 +0000 (03:12 +0000)]
2003-04-10  Andrew Cagney  <cagney@redhat.com>

* d10v-tdep.c (d10v_frame_this_id): Set the code addr to the
frame's function's address.  Simplify.
(d10v_frame_unwind_cache): Check that the frame's function is
non-zero.

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Decay
Alexandre Oliva [Fri, 11 Apr 2003 01:56:49 +0000 (01:56 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Decay
GOT_PAGE/GOT_OFST referencing overridable symbol to
GOT_DISP/addend.
(_bfd_mips_elf_check_relocs): Handle GOT_PAGE referencing
global symbol as GOT_DISP.

21 years agodaily update
Alan Modra [Fri, 11 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 11 Apr 2003 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
Jim Blandy [Thu, 10 Apr 2003 22:40:38 +0000 (22:40 +0000)]
* s390-tdep.c (s390_gdbarch_init): Put back accidentally deleted
call to set_gdbarch_deprecated_push_arguments.

21 years ago * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the cagney_frameaddr-20030409-mergepoint
Bob Wilson [Thu, 10 Apr 2003 19:19:02 +0000 (19:19 +0000)]
    * elf32-xtensa.c (elf_xtensa_relocate_section): Don't continue to the
        next relocation on an undefined symbol.

21 years ago2003-04-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 10 Apr 2003 15:32:27 +0000 (15:32 +0000)]
2003-04-10  Andrew Cagney  <cagney@redhat.com>

* frame.c (fprint_frame_id): New function.
(fprint_frame_type, fprint_frame): New function.
(frame_pc_unwind, frame_func_unwind): Add/update trace code.
(create_sentinel_frame, get_frame_id): Ditto.
(frame_id_p, frame_id_eq): Ditto.
(frame_id_inner, create_new_frame): Ditto.
(legacy_get_prev_frame, get_prev_frame): Ditto.
(deprecated_update_frame_pc_hack): Ditto.
(frame_register_unwind): Ditto.
(deprecated_update_frame_base_hack): Ditto.

21 years ago2003-04-10 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 10 Apr 2003 13:38:15 +0000 (13:38 +0000)]
2003-04-10  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/completion.exp: Use string_to_regexp to match the
working directory name.

21 years ago * i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
Corinna Vinschen [Thu, 10 Apr 2003 13:15:50 +0000 (13:15 +0000)]
* i386-cygwin-tdep.c (i386_cygwin_frame_chain): New function.
(i386_cygwin_init_abi): Set i386_cygwin_frame_chain as new
frame_chain function.
* Makefile.in: Add dependencies due to above change.

21 years ago * blockframe.c (legacy_frame_chain_valid): Move call to
Corinna Vinschen [Thu, 10 Apr 2003 11:12:30 +0000 (11:12 +0000)]
* blockframe.c (legacy_frame_chain_valid): Move call to
DEPRECATED_FRAME_CHAIN_VALID before calls to inside_entry_func and
inside_entry_file.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 10 Apr 2003 03:30:36 +0000 (03:30 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* frame.h (struct frame_id): Replace "pc" and "base" with
"stack_addr" and "code_addr".  Update comments.
(frame_id_build): Update parameter names and comment.
(struct frame_info): Replace "id_p" and "id" with "this_id".
* dummy-frame.c (dummy_frame_this_id): Update.
* breakpoint.c (print_one_breakpoint): Update.
* frame.c (get_frame_id): Update.
(get_frame_base, frame_id_build): Update.
(create_sentinel_frame, legacy_get_prev_frame): Update.
(deprecated_update_frame_base_hack): Update.
(frame_id_p, frame_id_eq): Rework, return 0 when an invalid ID.
(frame_id_inner): Ditto.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 10 Apr 2003 02:18:40 +0000 (02:18 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* defs.h (gdb_print_host_address): Make "addr" parameter a
pointer constant.
* utils.c (gdb_print_host_address): Update.

21 years ago*** empty log message ***
gdbadmin [Thu, 10 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 10 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago* gdb.c++/derivation.exp, gdb.c++/overload.exp,
Jim Blandy [Wed, 9 Apr 2003 23:21:14 +0000 (23:21 +0000)]
* gdb.c++/derivation.exp, gdb.c++/overload.exp,
gdb.c++/userdef.exp: If GDB fails to restore the selected frame
after an inferior function call, report the failure, but allow the
test to continue.

21 years ago * rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
Kevin Buettner [Wed, 9 Apr 2003 22:44:24 +0000 (22:44 +0000)]
* rs6000-tdep.c (frame_get_saved_regs): Don't assume that the
register number for R0 is 0.

21 years ago * frame.h (struct gdbarch): Add opaque structure definition
Joel Brobecker [Wed, 9 Apr 2003 21:53:28 +0000 (21:53 +0000)]
    * frame.h (struct gdbarch): Add opaque structure definition
        to avoid a compilation warning on LynxOS 4.0.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 9 Apr 2003 20:49:22 +0000 (20:49 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* frame.h (struct frame_info): Delete field "pc".  Replace
"pc_unwind_cache" and "pc_unwind_cache_p" with "prev_pc"
structure.
* frame.c (frame_pc_unwind): Update.
(create_sentinel_frame): Do not set "pc".
(get_prev_frame): Do not set "pc".  Use frame_pc_unwind.
(get_frame_pc): Call frame_pc_unwind.
(deprecated_update_frame_pc_hack): Update.
(create_new_frame): Use "pc" not "->pc".

21 years ago * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
Richard Henderson [Wed, 9 Apr 2003 20:08:14 +0000 (20:08 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section) <R_ALPHA_GPREL32>:
        Ignore relocations against r_symndx == 0.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 9 Apr 2003 18:24:01 +0000 (18:24 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Eliminate code updating "frame".
(legacy_get_prev_frame): Ditto.
(get_frame_base): Return id.base directly.
(deprecated_update_frame_base_hack): Update "id.base".
* frame.h (struct frame_info): Delete field "frame".

21 years ago2003-04-09 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 9 Apr 2003 16:19:52 +0000 (16:19 +0000)]
2003-04-09  H.J. Lu <hjl@gnu.org>

* elf64-alpha.c (elf64_alpha_relocate_section): Don't return
FALSE for undefined symbols.
* elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 9 Apr 2003 16:19:52 +0000 (16:19 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention that the "Sequent family" is obsolete.
* configure.tgt: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* configure.host: Obsolete i[3456]86-sequent-bsd*,
i[3456]86-sequent-sysv4*, and i[3456]86-sequent-sysv*.
* config/i386/tm-ptx4.h: Obsolete file.
* config/i386/tm-ptx.h: Obsolete file.
* symm-tdep.c: Obsolete file.
* config/i386/symmetry.mt: Obsolete file.
* config/i386/tm-symmetry.h: Obsolete file.
* symm-nat.c: Obsolete file.
* config/i386/nm-symmetry.h: Obsolete file.
* config/i386/xm-symmetry.h: Obsolete file.
* config/i386/symmetry.mh: Obsolete file.
* config/i386/nm-ptx4.h: Obsolete file.
* config/i386/ptx4.mh: Obsolete file.
* config/i386/ptx.mt: Obsolete file.
* config/i386/ptx.mh: Obsolete file.
* config/i386/xm-ptx4.h: Obsolete file.
* config/i386/xm-ptx.h: Obsolete file.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 9 Apr 2003 16:10:06 +0000 (16:10 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

Obsolete mips*-*-mach3*.
* NEWS: Mention that mips*-*-mach3* is obsolete.
* m3-nat.c: Obsolete file.
* config/nm-m3.h: Obsolete file.
* config/mips/tm-mipsm3.h: Obsolete file.
* config/mips/mipsm3.mt: Obsolete file.
* config/mips/mipsm3.mh: Obsolete file.
* config/mips/xm-mipsm3.h: Obsolete file.
* mipsm3-nat.c: Obsolete file.
* configure.host: Obsolete mips-dec-mach3*.
* configure.tgt: Obsolete mips*-*-mach3*.

21 years ago2003-04-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 9 Apr 2003 15:08:27 +0000 (15:08 +0000)]
2003-04-09  Andrew Cagney  <cagney@redhat.com>

* doublest.h: Update copyright.
(deprecated_store_floating, deprecated_extract_floating): Rename
store_floating and extract_floating.  Update comments.
* doublest.c: Update copyright.
(extract_floating_by_length): Replace extract_floating.
(store_floating_by_length): Replace store_floating.
(deprecated_extract_floating): New function.
(deprecated_store_floating): New function.
(extract_typed_floating): Call extract_floating_by_length.
(store_typed_floating): Call store_floating_by_length.
* x86-64-tdep.c (x86_64_store_return_value): Update.
* sh-tdep.c (sh3e_sh4_extract_return_value): Update.
(sh64_extract_return_value): Update.
(sh_sh4_register_convert_to_virtual): Update.
(sh_sh64_register_convert_to_virtual): Update.
(sh_sh4_register_convert_to_raw): Update.
(sh_sh64_register_convert_to_raw): Update.
* rs6000-tdep.c (rs6000_register_convert_to_virtual): Update.
(rs6000_register_convert_to_raw): Update.
* ia64-tdep.c (ia64_register_convert_to_virtual): Update.
(ia64_register_convert_to_raw): Update.
* config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_RAW): Update.
(REGISTER_CONVERT_TO_VIRTUAL): Update.
* arm-linux-tdep.c (arm_linux_push_arguments): Update.
* alpha-tdep.c (alpha_register_convert_to_virtual): Update.
(alpha_register_convert_to_raw): Update.

21 years ago* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
Alexandre Oliva [Wed, 9 Apr 2003 09:56:17 +0000 (09:56 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Try DWARF3-standard
and IRIX-specific shift-to-64-bit 4-byte lengths before following
addr_size.

21 years ago* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
Alexandre Oliva [Wed, 9 Apr 2003 02:55:40 +0000 (02:55 +0000)]
* elf32-mips.c (bfd_elf32_bfd_reloc_type_lookup): Detect (ctor)
pointer size from ABI, not arch_bits_per_address.

21 years ago * mips.h: Correct comment typo.
Alan Modra [Wed, 9 Apr 2003 00:12:24 +0000 (00:12 +0000)]
* mips.h: Correct comment typo.

21 years ago*** empty log message ***
gdbadmin [Wed, 9 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 9 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 8 Apr 2003 21:56:10 +0000 (21:56 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (SAVED_PC_AFTER_CALL): Add a predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* d10v-tdep.c (d10v_saved_pc_after_call): Delete function.
(d10v_gdbarch_init): Do not set saved_pc_after_call.
* infrun.c (step_over_function): Call SAVED_PC_AFTER_CALL_P
conditionally, use frame_pc_unwind as an alternative.  Add
comments.
* arch-utils.c (init_frame_pc_default): Only call
SAVED_PC_AFTER_CALL when available.

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 8 Apr 2003 21:48:40 +0000 (21:48 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdb792.exp: Skip when C++.

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 8 Apr 2003 21:25:33 +0000 (21:25 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
references to EXTRA_FRAME_INFO.

21 years ago2003-04-08 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 8 Apr 2003 21:20:06 +0000 (21:20 +0000)]
2003-04-08  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
PRINT_TYPELESS_INTEGER.

21 years ago2003-04-08 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 8 Apr 2003 19:21:15 +0000 (19:21 +0000)]
2003-04-08  Elena Zannoni  <ezannoni@redhat.com>

        * infrun.c (stop_soon): Rename from stop_soon_quietly.
(struct inferior_status): Rename stop_soon_quietly field to stop_soon.
(clear_proceed_status): Rename stop_soon_quietly to stop_soon.
(start_remote): Ditto.
(handle_inferior_event): Ditto.
(save_inferior_status): Ditto.
(restore_inferior_status): Ditto.
* infcmd.c (attach_command): Ditto.
* fork-child.c (startup_inferior): Ditto.
        * inferior.h (stop_soon): Rename from stop_soon_quietly.
* alpha-tdep.c (heuristic_proc_start): Ditto.
* mips-tdep.c (heuristic_proc_start): Ditto.
* solib-svr4.c (svr4_solib_create_inferior_hook): Ditto.
* solib-sunos.c (sunos_solib_create_inferior_hook): Ditto.
* solib-osf.c (osf_solib_create_inferior_hook): Ditto.
* solib-irix.c (irix_solib_create_inferior_hook): Ditto.
* remote-vx.c (vx_create_inferior): Ditto.

21 years ago2003-04-08 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 8 Apr 2003 18:52:04 +0000 (18:52 +0000)]
2003-04-08  Elena Zannoni  <ezannoni@redhat.com>

* infrun.c (stop_soon_quietly): Make it an enum, to better
override the default behavior of handle_inferior_event.
(clear_proceed_status): Update uses of stop_soon_quietly to
reflect that it is now an enum.
(start_remote): Ditto.
(handle_inferior_event): Change logic a bit if stop_soon_quietly
is set to handle the new GNU/Linux kernel behavior for
attach/sigstop.  Update uses of stop_soon_quietly.
* inferior.h (enum stop_kind): New enum.
* infcmd.c (attach_command): Use STOP_QUIETLY_NO_SIGSTOP.
Reset normal handle_inferior_event behavior, afterwards.
* fork-child.c (startup_inferior): Update.
* alpha-tdep.c (heuristic_proc_start): Update.
* solib-svr4.c (svr4_solib_create_inferior_hook): Update.
* solib-sunos.c (sunos_solib_create_inferior_hook): Update.
* solib-osf.c (osf_solib_create_inferior_hook): Update.
* solib-irix.c (irix_solib_create_inferior_hook): Update.
* remote-vx.c (vx_create_inferior): Update.
* mips-tdep.c (heuristic_proc_start): Update.

21 years ago* ia64-ic.tbl (fr-readers): Add mem-writers-fp.
Nick Clifton [Tue, 8 Apr 2003 09:50:05 +0000 (09:50 +0000)]
* ia64-ic.tbl (fr-readers): Add mem-writers-fp.
* ia64-asmtab.c: Regenerate.
* gas/ia64/dependency-1.s: New file: Test read before write dependency.
* gas/ia64/dependency-1.d: New file: Expected assembly results.
* gas/ia64/ia64.exp: Run the new test.

21 years ago* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.
Alexandre Oliva [Tue, 8 Apr 2003 07:14:47 +0000 (07:14 +0000)]
* mips-dis.c (mips_gpr_names_newabi): Reverted previous patch.

21 years ago2003-04-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 8 Apr 2003 01:40:31 +0000 (01:40 +0000)]
2003-04-04  Elena Zannoni  <ezannoni@redhat.com>

* disasm.c (dump_insns):  Move variables inside loop, or they will
        be freed more than once, causing wild memory corruptions.
(gdb_disassembly): Look for the substring "-thread",
        instead of "-threads" in the target name, to make sure to find
        the 'multi-thread' target.  Also, make sure we do the right thing
        with the "core" target.

21 years ago* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.
Alexandre Oliva [Tue, 8 Apr 2003 00:39:16 +0000 (00:39 +0000)]
* mips-dis.c (mips_gpr_names_newabi): $12-$15 are named $t4-$t7.

21 years ago*** empty log message ***
gdbadmin [Tue, 8 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 8 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
Kevin Buettner [Mon, 7 Apr 2003 20:08:10 +0000 (20:08 +0000)]
* elfn32-mips.c (elf32_mips_grok_prstatus): Adjust core file related
constants for n32 ABI.

21 years ago * mips-tdep.c (mips_print_fp_register): New function, created from
Kevin Buettner [Mon, 7 Apr 2003 18:38:04 +0000 (18:38 +0000)]
* mips-tdep.c (mips_print_fp_register): New function, created from
do_fp_register_row().  Registers are now (also) printed as hex.
Only one register is printed per row.
(mips_print_register, do_fp_register_row): Print floating point
registers with mips_print_fp_register().

21 years agooops - omitted from previous delta
Nick Clifton [Mon, 7 Apr 2003 10:09:54 +0000 (10:09 +0000)]
oops - omitted from previous delta

21 years ago*** empty log message ***
gdbadmin [Mon, 7 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 7 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 6 Apr 2003 19:25:04 +0000 (19:25 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* valprint.h (inspect_it): Add extern declaration.
* objc-lang.c (value_nsstring): Avoid assignment inside of "if".
(selectors_info, classes_info): Ditto.
(find_objc_msgcall): Fix indentation.
(objc_printstr): Delete extern declarations.

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 6 Apr 2003 19:08:17 +0000 (19:08 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* arm-tdep.c (arm_frameless_function_invocation): Fix typo.

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 6 Apr 2003 18:36:23 +0000 (18:36 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* frame.h (legacy_frame_chain_valid): Rename frame_chain_valid.
Update comment.
* frame.c (legacy_saved_regs_this_id): Update.
(legacy_get_prev_frame): Update.
* xstormy16-tdep.c: Update comment.
* sparc-tdep.c (sparc_frame_chain): Update comment.
* blockframe.c (legacy_frame_chain_valid): Update.

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com> kettenis_i386newframe-20030406-branchpoint
Andrew Cagney [Sun, 6 Apr 2003 14:50:15 +0000 (14:50 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* valprint.c (val_print_type_code_int): Delete #ifdef
PRINT_TYPELESS_INTEGER code.

21 years ago2003-04-06 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 6 Apr 2003 14:25:07 +0000 (14:25 +0000)]
2003-04-06  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_USE_GENERIC_DUMMY_FRAMES)
(CALL_DUMMY_LOCATION, DEPRECATED_PC_IN_CALL_DUMMY): Allow partial
multi-arch definition.
* gdbarch.h: Re-generate.

21 years ago* simops.c (OP_40): Delete. Move code to...
Nick Clifton [Sun, 6 Apr 2003 08:51:04 +0000 (08:51 +0000)]
* simops.c (OP_40): Delete.  Move code to...
* v850-igen.c (): ...Here. Sign extend the first operand.
* simops.h (OP_40): Remove prototype.

21 years ago(bfd_simple_get_relocated_section_contents): Disable free that leads to GDB
Nick Clifton [Sun, 6 Apr 2003 08:15:58 +0000 (08:15 +0000)]
(bfd_simple_get_relocated_section_contents): Disable free that leads to GDB
vs BFD memory corruption.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 6 Apr 2003 01:13:59 +0000 (01:13 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

Eliminate FRAME_FIND_SAVED_REGS.
* config/pa/tm-hppah.h (hppa_hpux_frame_find_saved_regs_in_sigtramp):
Change FSR parameter to a pointer.
* config/pa/tm-hppa64.h (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP):
Assume FSR parameter is a pointer.
* hppa-hpux-tdep.c (hppa_hpux_frame_find_saved_regs_in_sigtramp):
Make fsr a pointer.
* hppa-tdep.c (hppa_frame_find_saved_regs): New function.
(hppa_frame_saved_pc): Call hppa_frame_init_saved_regs.  Make
saved_regs a pointer.
(hppa_frame_saved_pc): Ditto.
(find_dummy_frame_regs): Make frame_saved_regs a pointer
(hppa_pop_frame): Call hppa_frame_init_saved_regs.  Make fsr a
pointer.
(restore_pc_queue): Make fsr a pointer.
(hppa_frame_find_saved_regs): Make frame_saved_regs a pointer.
(hppa_frame_chain): Make saved_regs a pointer, call
hppa_frame_init_saved_regs.
* sparc-tdep.c: Include "gdb_assert.h".
(sparc_frame_find_saved_regs): Replace internal_error with
gdb_assert.
* remote-vxsparc.c (vx_read_register): Delete reference to
FRAME_FIND_SAVED_REGS.
* gdbarch.sh: Delete check for FRAME_FIND_SAVED_REGS.
* gdbarch.h: Regenerate.
* frame.h (DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
(deprecated_get_frame_saved_regs): Delete declaration.
(struct frame_saved_regs): Delete definition.
* frame.c (deprecated_get_frame_saved_regs): Delete function.
* config/pa/tm-hppa.h (hppa_frame_init_saved_regs): Declare.
(hppa_frame_find_saved_regs): Delete declaration.
(FRAME_FIND_SAVED_REGS): Delete macro.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Define.
* config/i386/tm-ptx.h (FRAME_FIND_SAVED_REGS): Delete
FRAME_FIND_SAVED_REGS in comment.

21 years agodaily update
Alan Modra [Sun, 6 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 6 Apr 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 5 Apr 2003 18:54:38 +0000 (18:54 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_func_unwind, get_frame_func): New functions.
* frame.h (get_frame_func, frame_func_unwind): Declare.
(struct frame_info): Add field "prev_func" for caching the
previous frame's function address.
* arm-tdep.c (arm_frameless_function_invocation): Combine
get_pc_function_start and get_frame_pc into get_frame_func.
* sh-tdep.c (sh_nofp_frame_init_saved_regs): Ditto.
(sh64_nofp_frame_init_saved_regs): Ditto.
* s390-tdep.c (s390_function_start): Ditto.
* rs6000-tdep.c (rs6000_pop_frame): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc): Ditto.
* m68k-tdep.c (m68k_frame_init_saved_regs): Ditto.
* ia64-tdep.c (ia64_frame_init_saved_regs): Ditto.
* i386-tdep.c (i386_frameless_signal_p): Ditto.
(i386_frame_init_saved_regs): Ditto.
* hppa-tdep.c (hppa_frame_find_saved_regs): Ditto.
* d10v-tdep.c (d10v_frame_unwind_cache): Combine
get_pc_function_start and frame_pc_unwind into frame_func_unwind.
* cris-tdep.c (cris_frame_init_saved_regs): Ditto.
* blockframe.c (frameless_look_for_prologue): Ditto.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 5 Apr 2003 15:49:54 +0000 (15:49 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* frame.c (legacy_get_prev_frame): Link prev to next at the
function start.  Update comments.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 5 Apr 2003 15:39:34 +0000 (15:39 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_frame_id): Update comment.
(legacy_get_prev_frame): Update comment.
* gdbarch.sh: Delete check for EXTRA_FRAME_INFO.
* gdbarch.h: Regenerate.
* config/sparc/tm-sparc.h (EXTRA_FRAME_INFO): Delete.
* frame.h: Delete #ifdef EXTRA_FRAME_INFO code.

21 years ago2003-04-05 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 5 Apr 2003 15:19:12 +0000 (15:19 +0000)]
2003-04-05  Andrew Cagney  <cagney@redhat.com>

* stack.c (print_frame_info): Use get_frame_pc.

21 years ago * gdb.base/break.exp: marker4() is defined at line 46 when compiled
Stephane Carrez [Sat, 5 Apr 2003 13:35:25 +0000 (13:35 +0000)]
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.

21 years ago * gdb.base/break.exp: Revert last patch.
Stephane Carrez [Sat, 5 Apr 2003 10:40:59 +0000 (10:40 +0000)]
* gdb.base/break.exp: Revert last patch.

21 years ago2003-04-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 5 Apr 2003 03:56:00 +0000 (03:56 +0000)]
2003-04-04  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Do not call frame_type_from_pc.  Set
the frame's type from the unwinder.
(get_frame_type): Map UNKNOWN_FRAME onto NORMAL_FRAME.
(create_new_frame, legacy_get_prev_frame): When the unwinder's
type isn't UNKNOWN_FRAME, initalize "type" from the unwinder.
(get_frame_base_address): Use get_frame_type.
(get_frame_locals_address, get_frame_args_address): Ditto.
(legacy_saved_regs_unwinder): Set the type to UNKNOWN_TYPE.
* frame.h (enum frame_type): Add UNKNOWN_FRAME.
(struct frame_info): Add comment explaining why the frame contains
a "type" field.
* dummy-frame.c (dummy_frame_unwind): Set the type to DUMMY_FRAME.
* d10v-tdep.c (d10v_frame_unwind): Set the type to NORMAL_FRAME.
* sentinel-frame.c (sentinel_frame_unwinder): Set the type to
NORMAL_FRAME.
* frame-unwind.h: Include "frame.h".
(struct frame_unwind): Add "type" field.
* Makefile.in (frame_unwind_h): Add $(frame_h).

21 years agodaily update
Alan Modra [Sat, 5 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 5 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
Stephane Carrez [Fri, 4 Apr 2003 21:17:06 +0000 (21:17 +0000)]
* elf32-m68hc11.c (m68hc11_elf_relax_delete_bytes): Also adjust
symbols that mark the end of the section.
(m68hc11_elf_relax_section): Use R_M68HC11_PCREL_8 relocs when
converting to a relative branch so that the offset is computed after
the relaxation; also relocate a jsr into a bsr if possible but don't
relax them if they are to a far symbol as we need to call the
trampoline code.
(elf_m68hc11_howto_table): Set pcrel_offset to true.

21 years ago2003-04-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 4 Apr 2003 21:04:33 +0000 (21:04 +0000)]
2003-04-04  Andrew Cagney  <cagney@redhat.com>

* x86-64-tdep.c (x86_64_unwind_dummy_id): Use frame_id_build.
* dummy-frame.c (dummy_frame_this_id): Use frame_id_build.
* d10v-tdep.c (d10v_frame_this_id): Use get_frame_pc and
get_frame_base.
(d10v_unwind_dummy_id): Use frame_id_build.
* frame.c (find_frame_sal): Use get_frame_pc.
(create_new_frame): Use deprecated_update_frame_pc_hack and
deprecated_update_frame_base_hack.
(create_sentinel_frame): Add comment about ->pc going away.
(get_prev_frame): Add comment about ->pc going away.
(legacy_get_prev_frame): Use get_frame_base, get_frame_pc,
frame_id_build, deprecated_update_frame_pc_hack and
deprecated_update_frame_base_hack.
(select_frame): Use get_frame_pc.
(legacy_saved_regs_this_id): Use frame_id_build.

21 years ago * gdb.base/break.exp: marker4() is defined at line 46 when compiled
Stephane Carrez [Fri, 4 Apr 2003 20:03:46 +0000 (20:03 +0000)]
* gdb.base/break.exp: marker4() is defined at line 46 when compiled
with -DPROTOTYPES.

21 years ago2003-04-04 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 4 Apr 2003 19:30:49 +0000 (19:30 +0000)]
2003-04-04  Elena Zannoni  <ezannoni@redhat.com>

        * x86-64-tdep.c (x86_64_push_arguments): Handle correctly the
        signed integer case.
        (classify_argument): Handle enumerations and references.

21 years ago2003-04-04 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 4 Apr 2003 14:46:00 +0000 (14:46 +0000)]
2003-04-04  Andrew Cagney  <cagney@redhat.com>

* frame.c (create_sentinel_frame): Initialize the sentinel frame's
ID to NULL.

21 years ago* arm-tdep.c (push_stack_item): Use xmalloc.
Richard Earnshaw [Fri, 4 Apr 2003 12:37:13 +0000 (12:37 +0000)]
* arm-tdep.c (push_stack_item): Use xmalloc.

21 years agoNamespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003...
Svein Seldal [Fri, 4 Apr 2003 08:15:15 +0000 (08:15 +0000)]
Namespace cleanup for the tic4x target. Replace s/c4x/tic4x/ and s/c3x/tic3x/. 2003 copyright update

21 years ago* gdb/objc-lang.c (selectors_info): Replace calls to
Adam Fedor [Fri, 4 Apr 2003 04:29:15 +0000 (04:29 +0000)]
* gdb/objc-lang.c (selectors_info): Replace calls to
SYMBOL_DEMANGLED_NAME and DEPRECATED_SYMBOL_NAME with
SYMBOL_NATURAL_NAME.
(classes_info, find_methods): Likewise.

21 years ago*** empty log message ***
gdbadmin [Fri, 4 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 4 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
Kevin Buettner [Thu, 3 Apr 2003 17:56:25 +0000 (17:56 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): For xcoff executables, set
``mach'' to the value determined by bfd_default_set_arch_mach().

21 years ago2003-04-02 Andrew Cagney <cagney@redhat.com> cagney_frameaddr-20030403-branchpoint
Andrew Cagney [Thu, 3 Apr 2003 16:34:48 +0000 (16:34 +0000)]
2003-04-02  Andrew Cagney  <cagney@redhat.com>

* gdb.base/callfuncs.exp: Make "print add" messages unique.
* gdb.base/ending-run.exp: Put spaces around "breakpoint" to stop
matching directories by the name breakpoint.
* gdb.base/pointers.exp: Make "ptype pppC" message consistent.
Make "continue to marker1" consistent.
* gdb.base/call-rt-st.exp: Make "finish out from loop_count"
message consistent.
* lib/gdb.exp: Put "the program is no longer running", and "the
program exited" in parenthesis.
* lib/mi-support.exp: Ditto.

21 years ago * observer.texi (GDB Observers): Adjust the documentation for the
Joel Brobecker [Thu, 3 Apr 2003 15:14:48 +0000 (15:14 +0000)]
    * observer.texi (GDB Observers): Adjust the documentation for the
        normal_stop notification to better describe reality. Fix a couple
        of minor typos.

21 years ago(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
Nick Clifton [Thu, 3 Apr 2003 11:13:27 +0000 (11:13 +0000)]
(_bfd_XXi_swap_scnhdr_out): Compute ps and ss differently for object files and
  executables.
(coff_swap_scnhdr_in): Only set the s_size field for object files or for
  executables who have not already initialised the field.
(bfd_pe_executable_p): New macro.  Return true if the PE format bfd is an
  executable.

21 years ago * elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.
Alan Modra [Thu, 3 Apr 2003 04:02:02 +0000 (04:02 +0000)]
* elf32-ppc.c (SYMBOL_REFERENCES_LOCAL): Expand comment.

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
Alan Modra [Thu, 3 Apr 2003 02:54:52 +0000 (02:54 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Don't use SYMBOL_REFERENCES_LOCAL
here as it's too early to reliably determine locality.
(ppc_elf_gc_sweep_hook): Likewise.

21 years agoFixing Changelog for Makefile.in that I just committed
Bob Rossi [Thu, 3 Apr 2003 00:09:57 +0000 (00:09 +0000)]
Fixing Changelog for Makefile.in that I just committed

21 years agodaily update
Alan Modra [Thu, 3 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 3 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years agoI broke my first ChangeLog :), fixing it.
Bob Rossi [Wed, 2 Apr 2003 23:48:21 +0000 (23:48 +0000)]
I broke my first ChangeLog :), fixing it.

21 years agoAdding -file-list-exec-source-file command to MI
Bob Rossi [Wed, 2 Apr 2003 22:10:35 +0000 (22:10 +0000)]
Adding -file-list-exec-source-file command to MI