binutils-gdb.git
22 years ago * config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.
Thiemo Seufer [Wed, 18 Sep 2002 08:02:22 +0000 (08:02 +0000)]
* config/tc-mips.c (s_change_section): Fix parsing. Code cleanup.

22 years ago * bfd-in.h (bfd_get_dynamic_symcount): Define.
Daniel Jacobowitz [Wed, 18 Sep 2002 02:39:43 +0000 (02:39 +0000)]
    * bfd-in.h (bfd_get_dynamic_symcount): Define.
        * bfd.c (struct _bfd): Add dynsymcount.
        * bfd-in2.h: Regenerated.
        * elf.c (_bfd_elf_canonicalize_dynamic_symtab): Set
        abfd->dynsymcount.
        * elfcode.h (elf_slurp_reloc_table_from_section): Check
        for overflow.

22 years ago * tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
Stan Cox [Wed, 18 Sep 2002 02:25:19 +0000 (02:25 +0000)]
* tc-mips.c (load_address): Use BFD_RELOC_MIPS_GOT_DISP for newabi.
(macro): Likewise for la.  Likewise for ld.
(mips_after_parse_args): Make -xgot optional, not the default.
(md_apply_fix3): Allow composite relocation to set up gp.
(tc_gen_reloc): Allow relaxing for newabi.
Relax R_MIPS_CALL16 to R_MIPS_GOT_PAGE/R_MIPS_GOT_OFST if local.
Relax R_MIPS_GOT16/R_MIPS_LO16 to R_MIPS_GOT_DISP if local.

22 years ago * emulparams/elf32bmipn32-defs.sh: New file.
Stan Cox [Wed, 18 Sep 2002 01:54:37 +0000 (01:54 +0000)]
* emulparams/elf32bmipn32-defs.sh: New file.
* emulparams/elf32bmipn32.sh: Use elf32bmipn32-defs.sh.
* emulparams/elf32btsmipn32.sh: Likewise.
* emulparams/elf64bmip.sh: Likewise.
* emulparams/elf64btsmip.sh: Likewise.

22 years ago * elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.
Stan Cox [Wed, 18 Sep 2002 01:38:20 +0000 (01:38 +0000)]
* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.
(mips_elf64_final_gp): Don't make up gp value.
* elfn32-mips.c (mips_elf_final_gp): Likewise.
* elfxx-mips.c (_bfd_mips_elf_final_link): Always create
.MIPS.options/.options section.

22 years ago*** empty log message ***
gdbadmin [Wed, 18 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Wed, 18 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-09-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 17 Sep 2002 23:26:02 +0000 (23:26 +0000)]
2002-09-17  Andrew Cagney  <ac131313@redhat.com>

* NEWS: Mention that MIPS $fp behavior changed.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register): Delete
  reference to FP_REGNUM.
(mipsnbsd_cannot_store_register): Ditto.
* mips-linux-nat.c: Update copyright.
  (mips_linux_cannot_fetch_register): Delete reference to FP_REGNUM.
(mips_linux_cannot_store_register): Ditto.
* mips-linux-tdep.c (supply_gregset): Ditto.  Update copyright.
* config/mips/tm-mips.h: Update copyright.
  (FP_REGNUM): Delete macro.
(MIPS_REGISTER_NAMES): Replace "fp" with "".
* config/mips/tm-irix6.h (FP_REGNUM): Delete macro.
* mips-tdep.c (mips_gdbarch_init): Set read_fp to mips_read_sp.
(mips_r3041_reg_names, mips_r3051_reg_names)
  (mips_r3081_reg_names): Replace "fp" with "".
Fix PR gdb/480.

22 years ago* gdb/avr-tdep.c(avr_scan_prologue): Fix bad call to
Theodore A. Roth [Tue, 17 Sep 2002 23:08:45 +0000 (23:08 +0000)]
* gdb/avr-tdep.c(avr_scan_prologue): Fix bad call to
generic_read_register_dummy() (PR gdb/703).
(avr_push_return_address): #if 0 out unused vars.
(avr_gdbarch_init): Enable use of avr_push_return_address().

22 years agoFix thinko: m32r, not mips!
Michael Snyder [Tue, 17 Sep 2002 23:00:31 +0000 (23:00 +0000)]
Fix thinko: m32r, not mips!

22 years ago2002-09-17 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Sep 2002 22:58:01 +0000 (22:58 +0000)]
2002-09-17  Michael Snyder  <msnyder@redhat.com>

* mips-stub.c (restore_and_return): Postpone restoring of PSW.
        RTE will take care of it.

22 years ago2002-09-17 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 17 Sep 2002 21:18:54 +0000 (21:18 +0000)]
2002-09-17  Andrew Cagney  <ac131313@redhat.com>

* arch-utils.c (legacy_virtual_frame_pointer): If FP_REGNUM is
invalid, return SP_REGNUM.

22 years agofix date.
Andrew Cagney [Tue, 17 Sep 2002 21:01:01 +0000 (21:01 +0000)]
fix date.

22 years ago2002-08-13 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 17 Sep 2002 20:54:02 +0000 (20:54 +0000)]
2002-08-13  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_pop_frame): Read saved values of floating
point registers without sign extension.

22 years ago * mi-var-cmd.exp: Add tests to check when varobj pinned to a
Keith Seitz [Tue, 17 Sep 2002 20:45:28 +0000 (20:45 +0000)]
    * mi-var-cmd.exp: Add tests to check when varobj pinned to a
        selected frame changes type.

22 years ago2002-09-17 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 17 Sep 2002 20:42:01 +0000 (20:42 +0000)]
2002-09-17  Andrew Cagney  <cagney@redhat.com>

* h8300-tdep.c (h8300_frame_chain):
(h8300_frame_saved_pc):

* blockframe.c (deprecated_read_register_dummy): Rename
generic_read_register_dummy.
* frame.c (frame_unwind_signed_register): New function.
(frame_unwind_unsigned_register): New function.
* frame.h (frame_unwind_signed_register): Declare.
(frame_unwind_unsigned_register): Declare.
(deprecated_read_register_dummy): Rename
generic_read_register_dummy.

* xstormy16-tdep.c (xstormy16_frame_saved_pc): Update.
* rs6000-tdep.c (rs6000_frame_saved_pc): Update.
* s390-tdep.c (s390_frame_saved_pc_nofix): Update.
(s390_frame_chain): Update.
* v850-tdep.c (v850_find_callers_reg): Update.
(v850_frame_saved_pc): Update.
* m32r-tdep.c (m32r_init_extra_frame_info): Update.
(m32r_find_callers_reg): Update.
(m32r_frame_saved_pc): Update.
* sh-tdep.c (sh_find_callers_reg): Update.
(sh64_get_saved_pr): Update.
(sh_init_extra_frame_info): Update.
(sh_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
(sh64_init_extra_frame_info): Update.
* mcore-tdep.c (mcore_find_callers_reg): Update.
(mcore_frame_saved_pc): Update.
(mcore_init_extra_frame_info): Update.
* i386-tdep.c (i386_frame_saved_pc): Update.
* ia64-tdep.c (ia64_frame_saved_pc): Update.
(ia64_init_extra_frame_info): Update.
(ia64_init_extra_frame_info): Update.
* d10v-tdep.c (d10v_frame_saved_pc): Update.
* cris-tdep.c (cris_init_extra_frame_info): Update.
* avr-tdep.c (avr_frame_chain): Update.
(avr_init_extra_frame_info): Update.
(avr_frame_saved_pc): Update.
* arm-tdep.c (arm_find_callers_reg): Update.
(arm_init_extra_frame_info): Update.
(arm_frame_saved_pc): Update.

22 years ago * mi-console.exp: Update copyright.
Keith Seitz [Tue, 17 Sep 2002 20:30:24 +0000 (20:30 +0000)]
    * mi-console.exp: Update copyright.
        * mi-var-block.exp: Likewise.
        * mi-var-cmd.exp: Likewise.
        * mi-var-display.exp: Likewise.
        * mi0-console.exp: Likewise.
        * mi0-var-child.exp: Likewise.
        * mi0-var-cmd.exp: Likewise.
        * mi0-var-display.exp: Likewise.

22 years ago2002-09-17 David O'Brien <obrien@FreeBSD.org>
David O'Brien [Tue, 17 Sep 2002 19:49:04 +0000 (19:49 +0000)]
2002-09-17  David O'Brien  <obrien@FreeBSD.org>
* elf32-i386-fbsd.c: Always label using the EI_OSABI method.
It is benign for FreeBSD < 4.1.  Minor reformatting.
* elf64-alpha-fbsd.c: Likewise.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20020917182339.B14457@bubble.sa.bigpond.net.au>

22 years agoNote that an implemented BFD_RELOC_ARM_IMMEDIATE has been done.
Nick Clifton [Tue, 17 Sep 2002 19:23:00 +0000 (19:23 +0000)]
Note that an implemented BFD_RELOC_ARM_IMMEDIATE has been done.
Do not issue reloc number of unimplemented BFD_RELOC_ARM_IMMEDIATE and
BFD_RELOC_ARM_OFFSET_IMM relocs - their name is already in the error message
- plus remove them from the default case.
Warn about unpredictable behavior of LDM and STM instructions.

22 years ago * c-lang.c (c_emit_char): Don't treat \0 specially unless quoter
Tom Tromey [Tue, 17 Sep 2002 17:01:47 +0000 (17:01 +0000)]
* c-lang.c (c_emit_char): Don't treat \0 specially unless quoter
is "'".

22 years ago * gdb.base/printcmds.exp (test_print_string_constants): Expect
Tom Tromey [Tue, 17 Sep 2002 17:01:22 +0000 (17:01 +0000)]
* gdb.base/printcmds.exp (test_print_string_constants): Expect
\000, not \0, in double-quoted string.

22 years ago * MAINTAINERS: Remove "non multi-arched" text from h8300.
Corinna Vinschen [Tue, 17 Sep 2002 15:54:26 +0000 (15:54 +0000)]
* MAINTAINERS: Remove "non multi-arched" text from h8300.
* h8300-tdep.c (h8300_next_prologue_insn) Renamed from
NEXT_PROLOGUE_INSN.
(h8300_examine_prologue): Call h8300_next_prologue_insn instead of
NEXT_PROLOGUE_INSN.

22 years ago * elf_i386_relocate_section (R_386_TLS_TPOFF32): Negate addend.
Jakub Jelinek [Tue, 17 Sep 2002 09:52:41 +0000 (09:52 +0000)]
* elf_i386_relocate_section (R_386_TLS_TPOFF32): Negate addend.

22 years ago * coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
Alan Modra [Tue, 17 Sep 2002 08:59:11 +0000 (08:59 +0000)]
* coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
* cpu-tic4x.c: Ditto.

22 years ago * elf64-alpha.c (alpha_elf_size_info): Make static.
Alan Modra [Tue, 17 Sep 2002 08:48:54 +0000 (08:48 +0000)]
* elf64-alpha.c (alpha_elf_size_info): Make static.

22 years ago2002-09-17 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
Thiemo Seufer [Tue, 17 Sep 2002 08:38:27 +0000 (08:38 +0000)]
2002-09-17  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>

* gas/mips/jal-range.s: Check for jal overflows.
* gas/mips/jal-range.l: List file for it.
* gas/mips/mips.exp: Use it.

22 years ago * config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
Alan Modra [Tue, 17 Sep 2002 08:35:10 +0000 (08:35 +0000)]
* config/tc-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
Convert functions to K&R format.

22 years ago * tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED.
Alan Modra [Tue, 17 Sep 2002 08:34:17 +0000 (08:34 +0000)]
* tic4x-dis.c: Add function declarations and ATTRIBUTE_UNUSED.
Convert functions to K&R format.

22 years ago * coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
Alan Modra [Tue, 17 Sep 2002 08:33:13 +0000 (08:33 +0000)]
* coff-tic4x.c: Add function declarations and ATTRIBUTE_UNUSED.
* cpu-tic4x.c: Ditto.

22 years ago * elf64-mips.c (define elf_backend_ignore_discarded_relocs): Remove
Thiemo Seufer [Tue, 17 Sep 2002 07:48:30 +0000 (07:48 +0000)]
* elf64-mips.c (define elf_backend_ignore_discarded_relocs): Remove
duplicate define.

22 years ago * config/tc-mips.c (pdr_seg): Define only for ELF.
Thiemo Seufer [Tue, 17 Sep 2002 07:43:25 +0000 (07:43 +0000)]
* config/tc-mips.c (pdr_seg): Define only for ELF.
(s_change_section): Remove unused variable. Don't use for nonELF.

22 years ago * config/obj-elf.c (obj_elf_change_section): Move prototype to
Thiemo Seufer [Tue, 17 Sep 2002 07:38:14 +0000 (07:38 +0000)]
* config/obj-elf.c (obj_elf_change_section): Move prototype to
obj-elf.h
* config/obj-elf.h (obj_elf_change_section): Likewise.

22 years agobinutils:
Zack Weinberg [Tue, 17 Sep 2002 07:09:47 +0000 (07:09 +0000)]
binutils:
* Makefile.am (CFILES): Add cxxfilt.c.
(cxxfilt_SOURCES): Now just cxxfilt.c $(BULIBS).
(cxxfilt_LDADD): Delete.
Remove all references to underscore.c.
Regen dependencies.
* configure.in: Define TARGET_PREPENDS_UNDERSCORE in
config.h from $UNDERSCORE, rather than AC_SUBSTing it.
* binutils/cxxfilt.c: Moved here from gcc/cp, minor
adjustments to fit into binutils framework.
* configure, config.in, Makefile.in, doc/Makefile.in: Regenerate.

gcc/cp:
* Make-lang.in: Remove all references to the demangler.
* cxxfilt.c: Moved to binutils.

22 years ago * osfsolib.c: Remove file, replaced by solib-osf.c.
Joel Brobecker [Tue, 17 Sep 2002 04:45:50 +0000 (04:45 +0000)]
    * osfsolib.c: Remove file, replaced by solib-osf.c.
        * Makefile.in: Remove compilation rules for osfsolib.c.

22 years ago * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
Richard Henderson [Tue, 17 Sep 2002 02:55:57 +0000 (02:55 +0000)]
    * dwarf2dbg.c (out_debug_abbrev): Add support for the DW_AT_name field.
        (out_debug_info): Likewise.

22 years ago2002-09-16 Bruno Haible <bruno@clisp.org>
David O'Brien [Tue, 17 Sep 2002 02:24:40 +0000 (02:24 +0000)]
2002-09-16  Bruno Haible  <bruno@clisp.org>
* elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included
by a target variant implementation.
* elf64-alpha.c: Likewise.
* elf32-i386-fbsd.c: New file.
* elf64-alpha-fbsd.c: New file.
* targets.c: Support bfd_elf32_i386_freebsd_vec and
bfd_elf64_alpha_freebsd_vec.
* configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec,
bfd_elf64_alpha_freebsd_vec.
* Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c.
(BFD64_BACKENDS): Add elf64-alpha-fbsd.lo.
(BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c.
(elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies.
* config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD
specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate.

* config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
* config/tc-i386.c (i386_target_format): Likewise.
* config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".

* emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
elf32-i386-freebsd.
* emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
elf64-alpha-freebsd.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>

22 years agodaily update
Alan Modra [Tue, 17 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 17 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-09-16 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 16 Sep 2002 22:02:46 +0000 (22:02 +0000)]
2002-09-16  David Carlton  <carlton@math.stanford.edu>

* cp-valprint.c (cp_print_class_method): Correct args to
check_stub_method_group.

22 years ago * gdb701.exp: New file for testing varobj target type bug.
Keith Seitz [Mon, 16 Sep 2002 19:01:43 +0000 (19:01 +0000)]
    * gdb701.exp: New file for testing varobj target type bug.
        * gdb701.c: New file.

22 years ago * h8300-tdep.c: Multiarch. Drop `set machine' command in favor of
Corinna Vinschen [Mon, 16 Sep 2002 15:03:17 +0000 (15:03 +0000)]
* h8300-tdep.c: Multiarch.  Drop `set machine' command in favor of
`set architecture'.  Unify naming convention of functions.
(h8300_skip_prologue): Improve prologue analysis.
(h8300_push_arguments): Rewritten to more closely match GCC's
bizarre argument-passing behavior, along with the comment describing
said behavior.
* remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
* config/h8300/tm-h8300.h: Multiarch.  Just keep stuff needed by
sim, remote-e7000.c, remote-hms.c and remote.c

22 years ago*** empty log message ***
gdbadmin [Mon, 16 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Mon, 16 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* i386-tdep.c (gdb_print_insn_i386): Removed.
Mark Kettenis [Sun, 15 Sep 2002 13:53:36 +0000 (13:53 +0000)]
* i386-tdep.c (gdb_print_insn_i386): Removed.
(i386_print_insn): New function.
(i386_gdbarch_init): Set print_insn to i386_print_insns.
(_initialize_i386_tdep): Don't initialize tm_print_insn and
tm_print_insn_info.

22 years ago*** empty log message ***
gdbadmin [Sun, 15 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 15 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago* gdbtypes.c (check_stub_method_group): Initialize found_stub to
Mark Kettenis [Sat, 14 Sep 2002 15:39:52 +0000 (15:39 +0000)]
* gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.

22 years ago * arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
Corinna Vinschen [Sat, 14 Sep 2002 09:40:36 +0000 (09:40 +0000)]
* arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
for IN_SIGTRAMP to here.  Use IN_SIGTRAMP only if it's defined.
Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P.

22 years ago * gdb.base/command.exp: Don't expect a "Program exited normally"
Corinna Vinschen [Sat, 14 Sep 2002 09:31:36 +0000 (09:31 +0000)]
* gdb.base/command.exp: Don't expect a "Program exited normally"
string after running the commands execution on breakpoint tests.

22 years ago* win32-nat.c (child_create_inferior): Honor 'tty' command.
Christopher Faylor [Sat, 14 Sep 2002 03:28:23 +0000 (03:28 +0000)]
* win32-nat.c (child_create_inferior): Honor 'tty' command.

22 years ago * gdbtypes.c (check_stub_method): Make static.
Daniel Jacobowitz [Sat, 14 Sep 2002 02:09:39 +0000 (02:09 +0000)]
    * gdbtypes.c (check_stub_method): Make static.
        (check_stub_method_group): New function.
        * gdbtypes.h: Update prototypes.
        * cp-support.c: New file.
        * cp-support.h: New file.

        * stabsread.c: Include "cp-abi.h" and "cp-support.h".
        (update_method_name_from_physname): New function.
        (read_member_functions): Correct method names for operators
        and v3 constructors/destructors.  Separate v2 constructors and
        destructors.
        * Makefile.in (stabsread.o): Update dependencies.
        (SFILES): Add cp-support.c.
        (COMMON_OBS): Add cp-support.o.
        (cp_support_h, cp-support.o): Add.

        * cp-valprint.c (cp_print_class_method): Call
        check_stub_method_group instead of check_stub_method.  Remove
        extraneous QUITs.
        * p-valprint.c (pascal_object_print_class_method): Likewise.
        * valops.c (search_struct_method): Likewise.
        (find_method_list, value_struct_elt_for_reference): Likewise.

22 years agodaily update
Alan Modra [Sat, 14 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sat, 14 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-09-13 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 13 Sep 2002 23:21:45 +0000 (23:21 +0000)]
2002-09-13  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regenerate.

22 years ago2002-09-13 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 13 Sep 2002 22:53:36 +0000 (22:53 +0000)]
2002-09-13  Andrew Cagney  <ac131313@redhat.com>

* frame.c (find_saved_register): Delete function.
* frame.h (find_saved_register): Delete declaration.
Fix PR gdb/631.

22 years agoFri Sep 13 14:59:55 2002 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 13 Sep 2002 22:15:33 +0000 (22:15 +0000)]
Fri Sep 13 14:59:55 2002  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (read_next_frame_reg): Re-hack using
  frame_register_unwind.

22 years ago Fix line numbers.
Keith Seitz [Fri, 13 Sep 2002 21:29:42 +0000 (21:29 +0000)]
    Fix line numbers.

22 years ago * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
Keith Seitz [Fri, 13 Sep 2002 21:03:33 +0000 (21:03 +0000)]
    * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
        of a bunch of repeated send_gdb/gdb_expect statements.

22 years ago * tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
Stephane Carrez [Fri, 13 Sep 2002 20:06:56 +0000 (20:06 +0000)]
* tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
(tui_initialize_readline): Allow to use space to leave SingleKey
to enter one gdb command.
(tui_enable): Restore the TUI keymap when we are back to TUI.
(tui_disable): Restore normal keymap when leaving TUI.
* tuiIO.c (tui_redisplay_readline): Restore the SingleKey mode
when the buffer becomes empty and we are in tui_one_command_mode.

22 years ago * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
Stephane Carrez [Fri, 13 Sep 2002 19:47:21 +0000 (19:47 +0000)]
* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
when leaving TUI mode so that gdb prompt is displayed.

22 years ago * tuiStack.c (tui_make_status_line): Make sure the local buffer
Stephane Carrez [Fri, 13 Sep 2002 19:37:47 +0000 (19:37 +0000)]
* tuiStack.c (tui_make_status_line): Make sure the local buffer
is large enough to hold the complete line.

22 years agoFri Sep 13 07:42:09 2002 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 13 Sep 2002 17:58:22 +0000 (17:58 +0000)]
Fri Sep 13 07:42:09 2002  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_get_saved_register): Re-hack using
  frame_register_unwind.

22 years ago * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
Corinna Vinschen [Fri, 13 Sep 2002 17:20:11 +0000 (17:20 +0000)]
* lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.

22 years agoDo not count FAKE operands when deciding if any operands have been skipped.
Nick Clifton [Fri, 13 Sep 2002 09:16:02 +0000 (09:16 +0000)]
Do not count FAKE operands when deciding if any operands have been skipped.

22 years agoFix Book-E opcodes
Nick Clifton [Fri, 13 Sep 2002 09:07:49 +0000 (09:07 +0000)]
Fix Book-E opcodes

22 years ago * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
Joel Brobecker [Fri, 13 Sep 2002 00:43:10 +0000 (00:43 +0000)]
    * gdb.base/call-strs.exp: Fix a small typo in one of the comments.

22 years ago * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
Joel Brobecker [Fri, 13 Sep 2002 00:38:48 +0000 (00:38 +0000)]
   * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
       vector. Will be useful for Interix.
       * gdbarch.h, gdbarch.c: Regenerate.

       * valops.c (value_allocate_space_in_inferior): Replace hard-coded
       name of the malloc function by NAME_OF_MALLOC.

22 years ago * value.h (find_function_in_inferior): Add const keyword to
Joel Brobecker [Fri, 13 Sep 2002 00:18:33 +0000 (00:18 +0000)]
   * value.h (find_function_in_inferior): Add const keyword to
       one of the parameters. Allows us to invoke this function with
       a const char *.
       * valops.c (find_function_in_inferior): Likewise.

22 years agodaily update
Alan Modra [Fri, 13 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 13 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago * exec.c (xfer_memory): Fix compilation warning with old versions
Joel Brobecker [Thu, 12 Sep 2002 19:49:56 +0000 (19:49 +0000)]
    * exec.c (xfer_memory): Fix compilation warning with old versions
        of GCC.
        * tracepoint.c (trace_find_tracepoint_command): Likewise.

22 years ago2002-09-12 David Carlton <carlton@math.stanford.edu>
David Carlton [Thu, 12 Sep 2002 19:19:37 +0000 (19:19 +0000)]
2002-09-12  David Carlton  <carlton@math.stanford.edu>

* symtab.h: Run through gdb_indent.h.
Add 2002 to Copyright year list.

22 years agoImport chnages from master config repository.
Nick Clifton [Thu, 12 Sep 2002 15:59:37 +0000 (15:59 +0000)]
Import chnages from master config repository.

22 years ago * elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is
Jakub Jelinek [Thu, 12 Sep 2002 14:01:20 +0000 (14:01 +0000)]
* elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is
NULL.
(elf_i386_relocate_section): Return false after printing error about
unresolvable relocation.

22 years agoFix handling of R_ARM_THM_PC11
Nick Clifton [Thu, 12 Sep 2002 13:18:57 +0000 (13:18 +0000)]
Fix handling of R_ARM_THM_PC11

22 years agoHandle DW_OP_GNU_push_tls_address.
Nick Clifton [Thu, 12 Sep 2002 10:35:54 +0000 (10:35 +0000)]
Handle DW_OP_GNU_push_tls_address.
Synch up with the gcc's dwarf2.h

22 years ago * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
Alan Modra [Thu, 12 Sep 2002 08:39:26 +0000 (08:39 +0000)]
* x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
mach constants.
* MAINTAINERS: Add myself to write after approval list.

22 years ago * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC.
Alan Modra [Thu, 12 Sep 2002 03:58:37 +0000 (03:58 +0000)]
* ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC.

22 years agomerge from gcc
DJ Delorie [Thu, 12 Sep 2002 01:11:29 +0000 (01:11 +0000)]
merge from gcc

22 years ago * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.
Joel Brobecker [Thu, 12 Sep 2002 00:26:30 +0000 (00:26 +0000)]
    * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.

22 years ago*** empty log message ***
gdbadmin [Thu, 12 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Thu, 12 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
Joel Brobecker [Wed, 11 Sep 2002 22:32:45 +0000 (22:32 +0000)]
   * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
       Interix.

22 years ago * mi-main.c (mi_cmd_data_list_register_names): Use cleanups
Keith Seitz [Wed, 11 Sep 2002 21:49:04 +0000 (21:49 +0000)]
    * mi-main.c (mi_cmd_data_list_register_names): Use cleanups
        for the uiout list. Do the cleanups when returning an error.
        (mi_cmd_data_list_changed_registers): Ditto.
        (mi_cmd_data_list_register_values): Use cleanups for the uiout list
        and tuples. Do the cleanups when returning errors.

22 years ago * elf32-h8300.c (elf32_h8_relax_section): Fix typo.
Jeff Law [Wed, 11 Sep 2002 19:19:11 +0000 (19:19 +0000)]
* elf32-h8300.c (elf32_h8_relax_section): Fix typo.

22 years agoNew TI port supports both C4x and C3x series of DSPs.
Nick Clifton [Wed, 11 Sep 2002 14:42:45 +0000 (14:42 +0000)]
New TI port supports both C4x and C3x series of DSPs.

22 years agoCheck functionname_ptr and line_ptr before deciding we've found a symbol.
Nick Clifton [Wed, 11 Sep 2002 14:30:53 +0000 (14:30 +0000)]
Check functionname_ptr and line_ptr before deciding we've found a symbol.

22 years agoUpdate translations
Nick Clifton [Wed, 11 Sep 2002 13:52:17 +0000 (13:52 +0000)]
Update translations

22 years ago * config/tc-i386.c (md_apply_fix3): Allow addend for
Jakub Jelinek [Wed, 11 Sep 2002 09:51:58 +0000 (09:51 +0000)]
* config/tc-i386.c (md_apply_fix3): Allow addend for
BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
BFD_RELOC_386_TLS_LE_32.

22 years ago2002-06-05 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
Michael Snyder [Wed, 11 Sep 2002 00:13:58 +0000 (00:13 +0000)]
2002-06-05  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>

* procfs.c (do_detach): Clear current signal, not just fault.
Corrects problem with breakpoint trap signal leaking to detached
process on Tru64.

22 years agodaily update
Alan Modra [Wed, 11 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 11 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-09-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 10 Sep 2002 23:45:26 +0000 (23:45 +0000)]
2002-09-10  Michael Snyder  <msnyder@redhat.com>

* buildsym.c (finish_block): Protect against null pointer.

22 years ago2002-09-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 10 Sep 2002 23:28:54 +0000 (23:28 +0000)]
2002-09-10  Andrew Cagney  <cagney@redhat.com>

* infcmd.c (default_print_registers_info): Send all output to
``file'' instead of ``gdb_stdout''.

22 years ago * mi-simplerun.exp (test_controlled_execution): Follow renaming of
Keith Seitz [Tue, 10 Sep 2002 22:28:44 +0000 (22:28 +0000)]
    * mi-simplerun.exp (test_controlled_execution): Follow renaming of
        mi_run_to to mi_execute_to.
        * mi-var-cmd.exp: Likewise.
        * mi0-simplerun.exp: Likewise.
        * mi0-var-cmd.exp: Likewise.

22 years ago * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
Keith Seitz [Tue, 10 Sep 2002 22:28:19 +0000 (22:28 +0000)]
    * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
        runto proc.
        (mi_run_to_main): Use mi_runto.
        (mi_execute_to): Renamed from mi_run_to. Changed all callers.

22 years ago * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
Keith Seitz [Tue, 10 Sep 2002 22:07:58 +0000 (22:07 +0000)]
    * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
        regexp for stopping at main. Could have multiple event notifications.
        Don't assume that main was declared with no parameters.
        (mi_next): Use mi_step_to.
        (mi_step): Use mi_next_to.

22 years ago2002-09-10 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Tue, 10 Sep 2002 21:31:18 +0000 (21:31 +0000)]
2002-09-10  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_extract_struct_value_address): Make val a
LONGEST, and use signed register read (addresses are sign-
extended for mips).

22 years ago * tui-hooks.c (tui_event_loop): New function.
Stephane Carrez [Tue, 10 Sep 2002 19:59:31 +0000 (19:59 +0000)]
* tui-hooks.c (tui_event_loop): New function.
(tui_command_loop): New function to override gdb loop and make sure
uiout is set according to TUI mode.
(tui_command_loop): Install the specific TUI command hook.
* tuiIO.c (tui_initialize_io): Initialize tui_old_uiout.
(tui_uiout, tui_old_uiout): Make public.
* tuiIO.h (tui_uiout, tui_old_uiout): Declare.

22 years ago * event-loop.c (gdb_do_one_event): Make public.
Stephane Carrez [Tue, 10 Sep 2002 19:53:24 +0000 (19:53 +0000)]
* event-loop.c (gdb_do_one_event): Make public.
* event-loop.h (gdb_do_one_event): Declare.