binutils-gdb.git
22 years ago * ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.
Alan Modra [Mon, 8 Apr 2002 00:24:02 +0000 (00:24 +0000)]
* ld.texinfo (Format Commands <OUTPUT_FORMAT>): Typo fix.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 8 Apr 2002 00:01:06 +0000 (00:01 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

        Work around for PR gdb/285:
* gdb.asm/asm-source.exp: Bail out if multilibs are detected.

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

22 years agodaily update
Alan Modra [Mon, 8 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 7 Apr 2002 23:57:23 +0000 (23:57 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.asm/asm-source.exp: Build symbolic link to arch specific
        instructions file at run time instead of configure time.
        Sometimes we run the test in a directory that is not the one we
        configured in.
        * gdb.asm/configure.in: Delete creation of symlink.
        * gdb.asm/configure: Regenerate.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 7 Apr 2002 23:32:40 +0000 (23:32 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

* remote-e7000.c (write_small, e7000_read_inferior_memory,
e7000_read_inferior_memory_large, e7000_insert_breakpoint,
e7000_remove_breakpoint): Use paddr_nz() to print addresses.

22 years agoI believe Jeff Law denies responsability for this one:
Andrew Cagney [Sun, 7 Apr 2002 22:34:31 +0000 (22:34 +0000)]
I believe Jeff Law denies responsability for this one:
* config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork.
* config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork.
Work-around for PR gdb/366.

22 years ago2002-04-07 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 7 Apr 2002 22:13:20 +0000 (22:13 +0000)]
2002-04-07  Elena Zannoni  <ezannoni@redhat.com>

* sh-tdep.c (sh_fp_frame_init_saved_regs,
sh_nofp_frame_init_saved_regs): Use alloca() for 'where'
information.

22 years ago* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
Andrew Cagney [Sun, 7 Apr 2002 21:49:09 +0000 (21:49 +0000)]
* configure.in: Add missing ``|'' to powerpc-*-aix4.[4-9]*
pattern.
* configure: Re-generate.

22 years ago* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
Andrew Cagney [Sun, 7 Apr 2002 21:42:32 +0000 (21:42 +0000)]
* configure.in: Only define AIX_CORE_DUMPX_CORE when AIX version
is greater or equal to 4.3.3.
* configure: Regenerate.
Fix PR gdb/344.

22 years ago* MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
Andrew Cagney [Sun, 7 Apr 2002 21:22:19 +0000 (21:22 +0000)]
* MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER
maintainer.

22 years ago* Makefile.in (do-tar-bz2): Delete rule. Replace with ...
Andrew Cagney [Sun, 7 Apr 2002 20:53:57 +0000 (20:53 +0000)]
* Makefile.in (do-tar-bz2): Delete rule.  Replace with ...
(do-tar, do-bz2): New rules.
(taz): Update.  Replace do-tar-bz2 with do-tar and do-bz2.
(gdb-tar): New rule.
(gdb-taz): Rewrite.  Use gdb-tar and do-bz2.
(insight_dejagnu.tar): New rule.
(insight.tar): New rule.
(gdb+dejagnu.tar): New rule.
(gdb.tar): New rule.

22 years ago* MAINTAINERS: Update dejagnu/
Andrew Cagney [Sun, 7 Apr 2002 19:17:07 +0000 (19:17 +0000)]
* MAINTAINERS: Update dejagnu/

22 years ago* README (Reporting Bugs in GDB): Document the bug web page as the
Andrew Cagney [Sun, 7 Apr 2002 19:09:58 +0000 (19:09 +0000)]
* README (Reporting Bugs in GDB): Document the bug web page as the
prefered way of submitting bugs.
Fix PR gdb/402.

* gdb.texinfo (Bug Reporting): Document that the web is the
prefered way of submitting bug reports.
(Bug Reporting): Delete the s-mail address as the last resort.

22 years agoFrom 2002-03-05 Scott Pakin <pakin@uiuc.edu>
Andrew Cagney [Sun, 7 Apr 2002 17:58:57 +0000 (17:58 +0000)]
From 2002-03-05 Scott Pakin <pakin@uiuc.edu>
* mmap-sup.c (MAP_PRIVATE_OR_SHARED): Define.
(__mmalloc_mmap_morecore): Use.
(__mmalloc_remap_core): Use.

22 years ago* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.
Matthew Green [Sun, 7 Apr 2002 13:57:53 +0000 (13:57 +0000)]
* ld/configure.host (*-*-netbsd*): Add support for NetBSD/ELF.

22 years agofix a typo in my name
Matthew Green [Sun, 7 Apr 2002 13:56:38 +0000 (13:56 +0000)]
fix a typo in my name

22 years ago* gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
Andrew Cagney [Sun, 7 Apr 2002 02:16:46 +0000 (02:16 +0000)]
* gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of
-1.  Update comment.
* gdbarch.h, gdbarch.c: Re-generate.

22 years ago*** empty log message ***
gdbadmin [Sun, 7 Apr 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
Alan Modra [Sun, 7 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago * m68klinux-nat.c (fill_fpregset): Properly pass address of
Andreas Schwab [Sat, 6 Apr 2002 23:42:15 +0000 (23:42 +0000)]
* m68klinux-nat.c (fill_fpregset): Properly pass address of
buffer to regcache_collect.

22 years ago* gdbarch.sh (PS_REGNUM): Add. Document. Default to -1.
Andrew Cagney [Sat, 6 Apr 2002 20:50:10 +0000 (20:50 +0000)]
* gdbarch.sh (PS_REGNUM): Add.  Document.  Default to -1.
* gdbarch.c, gdbarch.h: Re-generate.

22 years ago* symtab.c (lookup_symtab): Remove ``const'' from ``rp''
Andrew Cagney [Sat, 6 Apr 2002 18:28:20 +0000 (18:28 +0000)]
* symtab.c (lookup_symtab): Remove ``const'' from ``rp''
declaration.  Fix -Werror.

22 years agoCorrect bad checkin (missing semicolon somehow)
Daniel Jacobowitz [Sat, 6 Apr 2002 03:07:59 +0000 (03:07 +0000)]
Correct bad checkin (missing semicolon somehow)

22 years ago2002-04-05 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 6 Apr 2002 02:39:10 +0000 (02:39 +0000)]
2002-04-05  Daniel Jacobowitz  <drow@mvista.com>

        * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap.
        * gdbarch.c: Regenerate.

22 years ago2002-04-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Sat, 6 Apr 2002 01:52:34 +0000 (01:52 +0000)]
2002-04-05  Michael Snyder  <msnyder@redhat.com>

* cli/cli-dump.c (restore_section_callback): Use paddr_nz.

22 years ago2002-04-05 H.J. Lu (hjl@gnu.org)
H.J. Lu [Sat, 6 Apr 2002 01:51:35 +0000 (01:51 +0000)]
2002-04-05  H.J. Lu  (hjl@gnu.org)

* solib-svr4.c (bkpt_names): Add "__start".

22 years ago* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
Andrew Cagney [Sat, 6 Apr 2002 00:19:44 +0000 (00:19 +0000)]
* sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64
as test for 64 bit target.

22 years ago* h8500-tdep.c (h8500_write_fp): Delete function.
Andrew Cagney [Sat, 6 Apr 2002 00:02:52 +0000 (00:02 +0000)]
* h8500-tdep.c (h8500_write_fp): Delete function.
* dwarf2cfi.c (cfi_write_fp): Document as not used.
* mips-tdep.c (mips_gdbarch_init): Do not set write_fp.
* ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp.
* rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp.
* s390-tdep.c (s390_gdbarch_init): Do not set write_fp.
(s390_write_fp):
* sh-tdep.c (sh_gdbarch_init): Do not set write_fp.
* x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp.
* d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp.
(d10v_write_fp): Delete function.
* inferior.h (write_fp, generic_target_write_fp): Delete
declarations.
* regcache.c (generic_target_write_fp): Delete function.
(write_fp): Delete function.
* gdbarch.sh (TARGET_WRITE_FP): Delete.
* gdbarch.h, gdbarch.c: Regenerate.
* config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro.
* config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro.
(sparc64_write_fp): Delete declaration.
* config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro.
(h8500_write_fp): Delete declaration.

22 years agodaily update
Alan Modra [Sat, 6 Apr 2002 00:00:08 +0000 (00:00 +0000)]
daily update

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

22 years ago* sparc-tdep.c (sparc64_write_fp): Delete.
Andrew Cagney [Fri, 5 Apr 2002 23:38:07 +0000 (23:38 +0000)]
* sparc-tdep.c (sparc64_write_fp): Delete.
(sparc_push_dummy_frame): Replace write_fp call with code to store
the FP directly.
(sparc_gdbarch_init): Do not initialize write_fp.

22 years ago * ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.
Hans-Peter Nilsson [Fri, 5 Apr 2002 23:13:09 +0000 (23:13 +0000)]
* ld-cris/libdso-2.d, ld-cris/dso-2.s, ld-cris/hide1: New test.

22 years ago * elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
Hans-Peter Nilsson [Fri, 5 Apr 2002 23:11:32 +0000 (23:11 +0000)]
* elf32-cris.c (cris_elf_howto_table) <R_CRIS_16_PCREL,
R_CRIS_32_PCREL>: Fix typo in name.
(cris_elf_check_relocs): Always create .rela.got here when
R_CRIS_16_GOTPLT or R_CRIS_32_GOTPLT is seen.
(elf_cris_adjust_gotplt_to_got): Don't create .rela.got here;
assume it's created.

22 years ago * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
Kevin Buettner [Fri, 5 Apr 2002 22:36:32 +0000 (22:36 +0000)]
* rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable
clause.

22 years agogdb/ChangeLog:
Jim Blandy [Fri, 5 Apr 2002 22:04:43 +0000 (22:04 +0000)]
gdb/ChangeLog:
* stack.c (get_selected_block): Add new argument `addr_in_block',
used to return the exact code address we used to select the block,
not just the block.
* blockframe.c (get_frame_block, get_current_block): Same.
* frame.h (get_frame_block, get_current_block,
get_selected_block): Update declarations.
* linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c,
linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed.

gdb/mi/ChangeLog:
* mi-cmd-stack.c (list_args_or_locals): Pass new arg to
get_frame_block.  (See entry in gdb/ChangeLog.)

22 years ago2002-04-05 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 5 Apr 2002 19:16:15 +0000 (19:16 +0000)]
2002-04-05  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in
warning message.

22 years agoDocument the addition of the new xfullpath.exp testcase.
Joel Brobecker [Fri, 5 Apr 2002 16:45:04 +0000 (16:45 +0000)]
Document the addition of the new xfullpath.exp testcase.

22 years agoNew testcase.
Joel Brobecker [Fri, 5 Apr 2002 16:43:57 +0000 (16:43 +0000)]
New testcase.

22 years agoDocument changes relative to the new xfullpath function.
Joel Brobecker [Fri, 5 Apr 2002 16:43:14 +0000 (16:43 +0000)]
Document changes relative to the new xfullpath function.

22 years ago(lookup_symtab): Use the new xfullpath function, in order to be able to
Joel Brobecker [Fri, 5 Apr 2002 16:42:04 +0000 (16:42 +0000)]
(lookup_symtab): Use the new xfullpath function, in order to be able to
match a filename with either the real filename, or the name of any
symbolic link to this file.
(lookup_partial_symtab): Ditto.

22 years ago(openp): Use xfullpath in place of gdb_realpath to avoid resolving the
Joel Brobecker [Fri, 5 Apr 2002 16:40:45 +0000 (16:40 +0000)]
(openp): Use xfullpath in place of gdb_realpath to avoid resolving the
basename part of filenames when the associated file is a symbolic link.
This fixes a potential inconsistency between the filenames known to GDB
and the filenames it prints in the annotations.

22 years ago(xfullpath): Add declaration.
Joel Brobecker [Fri, 5 Apr 2002 16:39:36 +0000 (16:39 +0000)]
(xfullpath): Add declaration.

22 years ago(xfullpath): New function.
Joel Brobecker [Fri, 5 Apr 2002 16:39:11 +0000 (16:39 +0000)]
(xfullpath): New function.

22 years ago2002-04-05 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 5 Apr 2002 15:59:23 +0000 (15:59 +0000)]
2002-04-05  Elena Zannoni  <ezannoni@redhat.com>

* mi-cmd-disas.c (mi_cmd_disassemble): Use TARGET_PRINT_INSN
instead of tm_print_insn.
Update copyright year.

22 years ago2002-04-01 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 5 Apr 2002 02:48:33 +0000 (02:48 +0000)]
2002-04-01  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.asm/Makefile.in: Correct dependencies.

        * gdb.asm/powerpc.inc: New file.
        * gdb.asm/asm-source.exp: Add PowerPC.
        * gdb.asm/configure.in: Likewise.
        * gdb.asm/configure: Regenerated.

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Fri, 5 Apr 2002 02:45:48 +0000 (02:45 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/relocate.exp: New file.
        * gdb.base/relocate.c: New file.

22 years ago2002-04-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 5 Apr 2002 02:35:26 +0000 (02:35 +0000)]
2002-04-04  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c: Add support for hardware breakpoints in overlays.
(overlay_events_enabled): New state variable.
(insert_breakpoints): Use overlay_events_enabled to decide
whether to attempt to set a breakpoint at the overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(remove_breakpoint): Use overlay_events_enabled to decide
whether breakpoints need to be removed from overlay load addr.
Handle bp_hardware_breakpoint as well as bp_breakpoint.
(bpstat_stop_status): Handle bp_hardware_breakpoint in overlays.
(create_overlay_event_breakpoint, enable_overlay_breakpoints,
disable_overlay_breakpoints): Update overlay_events_enabled.

22 years ago 2002-04-04 Fred Fish <fnf@redhat.com>
Fred Fish [Fri, 5 Apr 2002 00:30:09 +0000 (00:30 +0000)]
2002-04-04  Fred Fish  <fnf@redhat.com>
* gdb.base/step-test.exp: Update comment regarding stopping in
memcpy/bcopy calls inserted as part of the compiler runtime.

22 years agodaily update
Alan Modra [Fri, 5 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Fri, 5 Apr 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 4 Apr 2002 22:26:43 +0000 (22:26 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

        * dwarf2read.c (struct function_range): New.
        (cu_first_fn, cu_last_fn, cu_cached_fn): New.
        (check_cu_functions): New.
        (read_file_scope): Initialize global function lists.
        Call dwarf_decode_line after processing children.
        (read_func_scope): Add to global function list.
        (dwarf_decode_lines): Call check_cu_functions everywhere
        record_line is called.  Call record_line with a linenumber
        of 0 to mark sequence ends.

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 4 Apr 2002 20:23:36 +0000 (20:23 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

        * mi-cmd-disas.c (mi_cmd_disassemble): Skip end-of-function
        markers in the line table.

22 years ago2002-04-04 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Thu, 4 Apr 2002 19:53:38 +0000 (19:53 +0000)]
2002-04-04  Daniel Jacobowitz  <drow@mvista.com>

* aout-adobe.c (aout_32_bfd_link_hash_table_free): Define.
* aout-target.h (MY_bfd_link_hash_table_free): Conditionally
define.
* aout-tic30.c (MY_bfd_link_hash_table_free): Likewise.
* bfd.c (bfd_link_hash_table_free): Define.
* binary.c (binary_bfd_link_hash_table_free): Define.
* bout.c (b_out_bfd_link_hash_table_free): Define.
* coff-rs6000.c (rs6000coff_vec): Include
_bfd_generic_link_hash_table_free.
(pmac_xcoff_vec): Likewise.
* coff64-rs6000.c (rs6000coff64_vec): Likewise.
(aix5coff64_vec): Likewise.
* coffcode.h (coff_bfd_link_hash_table_free): Conditionally define.
* elf-m10300.c (elf32_mn10300_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elf32-hppa.c (elf32_hppa_link_hash_table_free): New function.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elfxx-target.h (bfd_elfNN_bfd_link_hash_table_free): Conditionally
define.
* i386msdos.c (msdos_bfd_link_hash_table_free): Define.
* i386os9k.c (os9k_bfd_link_hash_table_free): Define.
* ieee.c (ieee_bfd_link_hash_table_free): Define.
* ihex.c (ihex_bfd_link_hash_table_free): Define.
* libbfd-in.h (_bfd_nolink_bfd_link_hash_table_free): Define.
(_bfd_generic_link_hash_table_free): Add prototype.
* libcoff-in.h (_bfd_xcoff_bfd_link_hash_table_free): Add prototype.
* libecoff.h (_bfd_ecoff_bfd_link_hash_table_free): Define.
* linker.c (_bfd_generic_link_hash_table_free): New function.
* mmo.c (mmo_bfd_link_hash_table_free): Define.
* nlm-target.h (nlm_bfd_link_hash_table_free): Define.
* oasys.c (oasys_bfd_link_hash_table_free): Define.
* ppcboot.c (ppcboot_bfd_link_hash_table_free): Define.
* som.c (som_bfd_link_hash_table_free): Define.
* srec.c (srec_bfd_link_hash_table_free): Define.
* tekhex.c (tekhex_bfd_link_hash_table_free): Define.
* versados.c (versados_bfd_link_hash_table_free): Define.
* vms.c (vms_bfd_link_hash_table_free): New function.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_free): New function.

* coff-arm.c (coff_arm_link_hash_table_create): Use bfd_malloc
instead of bfd_alloc.
* coff-h8300.c (h8300_coff_link_hash_table_create): Likewise.
* coff-mcore.c (coff_mcore_link_hash_table_create): Likewise.
* coff-ppc.c (ppc_coff_link_hash_table_create): Likewise.
* cofflink.c (_bfd_coff_link_hash_table_create): Likewise.
* ecoff.c (_bfd_ecoff_bfd_link_hash_table_create): Likewise.
* elf-m10300.c (elf32_mn10300_link_hash_table_create): Likewise.
* elf.c (_bfd_elf_link_hash_table_create): Likewise.
* elf32-arm.h (elf32_arm_link_hash_table_create): Likewise.
* elf32-cris.c (elf_cris_link_hash_table_create): Likewise.
* elf32-hppa.c (elf32_hppa_link_hash_table_create): Likewise.
* elf32-i386.c (elf_i386_link_hash_table_create): Likewise.
* elf32-m68k.c (elf_m68k_link_hash_table_create): Likewise.
* elf32-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf32-sh.c (sh_elf_link_hash_table_create): Likewise.
* elf64-alpha.c (elf64_alpha_bfd_link_hash_table_create): Likewise.
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Likewise.
* elf64-s390.c (elf_s390_link_hash_table_create): Likewise.
* elf64-sh64.c (sh64_elf64_link_hash_table_create): Likewise.
* elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create): Likewise.
* elf64-x86-64.c (elf64_x86_64_link_hash_table_create): Likewise.
* elfxx-mips.c (_bfd_mips_elf_link_hash_table_create): Likewise.
* linker.c (_bfd_generic_link_hash_table_create): Likewise.
* m68klinux.c (linux_link_hash_table_create): Likewise.
* sparclinux.c (linux_link_hash_table_create): Likewise.
* sunos.c (sunos_link_hash_table_create): Likewise.
* xcofflink.c (_bfd_xcoff_bfd_link_hash_table_create): Likewise.

* targets.c: Add _bfd_link_hash_table_free to xvec.

* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* libcoff.h: Regenerate.

22 years ago2002-04-04 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Thu, 4 Apr 2002 19:48:09 +0000 (19:48 +0000)]
2002-04-04  Michael Snyder  <msnyder@redhat.com>

* gdb.base/ovlymgr.c: Add overlay event breakpoint support.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:07:57 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR and BFDDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:07:22 +0000 (14:07 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:05:44 +0000 (14:05 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* ppc-opc.c: Whitespace.
* s390-dis.c: Fix copyright date.

22 years ago * dep-in.sed: Cope with absolute paths.
Alan Modra [Thu, 4 Apr 2002 14:04:39 +0000 (14:04 +0000)]
* dep-in.sed: Cope with absolute paths.
* Makefile.am (dep.sed): Subst TOPDIR, and not INCDIR.
Run "make dep-am".
* Makefile.in: Regenerate.
* coff-arm.c: Fix copyright date.
* cpu-h8300.c: Likewise.
* cpu-i370.c: Likewise.
* cpu-s390.c: Likewise.
* cpu-mips.c: Likewise.
* po/SRC-POTFILES.in: Regenerate.

22 years ago* x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI change sync
Michal Ludvig [Thu, 4 Apr 2002 13:18:59 +0000 (13:18 +0000)]
* x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI change sync

22 years agoOpen out one-line if-then-else test clauses so that other clauses can be
Nick Clifton [Thu, 4 Apr 2002 08:23:30 +0000 (08:23 +0000)]
Open out one-line if-then-else test clauses so that other clauses can be
inserted in the future.

22 years ago * config/tc-mips.c (mips16_macro_build): Cast type mismatch.
Thiemo Seufer [Thu, 4 Apr 2002 07:43:11 +0000 (07:43 +0000)]
* config/tc-mips.c (mips16_macro_build): Cast type mismatch.
(mips_ip): Remove unused variable.
(md_apply_fix3): Cast signed/unsignes mismatches. Replace
unsigned char with bfd_byte.
(s_file): Remove unused variable.
(s_mips_ent): Likewise.

22 years ago * emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.
Thiemo Seufer [Thu, 4 Apr 2002 07:21:39 +0000 (07:21 +0000)]
* emulparams/elf64btsmip.sh: n64 replaces .reginfo with .MIPS.options.

22 years agoActually commit the new files ommitted before.
Thiemo Seufer [Thu, 4 Apr 2002 07:10:00 +0000 (07:10 +0000)]
Actually commit the new files ommitted before.

22 years ago * Makefile.am: Add elfxx-mips.c to the known backends.
Thiemo Seufer [Thu, 4 Apr 2002 07:01:27 +0000 (07:01 +0000)]
* Makefile.am: Add elfxx-mips.c to the known backends.
(elf32-mips.lo): remove dependency to coff/external.h.
* Makefile.in: Regenerate.
* configure.in: Add elfxx-mips.lo to all vectors using elf32-mips.lo
Remove elf32-mips.lo from 64 bit vectors. Update dependencies
accordingly.
* configure: Regenerate.
* elf-bfd.h: Move all MIPS ELF specific prototypes to elfxx-mips.h.
(irix_compat_t): IRIX compatibility level, moved from elf32-mips.c.
(elf_backend_mips_irix_compat, elf_backend_mips_rtype_to_howto): New
MIPS specific backend functions.
* elf32-mips.c: Moved most code to elfxx-mips.c.
(mips_elf_hi16_reloc): Rename from _bfd_mips_elf_hi16_reloc and make
static.
(mips_elf_lo16_reloc): Likewise, was _bfd_mips_elf_lo16_reloc.
(mips_elf_got16_reloc): Likewise, was _bfd_mips_elf_got16_reloc.
(mips_elf_gprel32_reloc): Likewise, was _bfd_mips_elf_gprel32_reloc.
(mips_elf32_rtype_to_howto): Rename from mips_rtype_to_howto. Changed
interface to allow selection of the right REL or RELA howto table.
(mips_elf32_object_p): Rename from _bfd_mips_elf_object_p and made
static. Let it refuse n32 objects.
(elf32_mips_grok_prstatus): Rename from _bfd_elf32_mips_grok_prstatus.
(elf32_mips_grok_psinfo): Rename from _bfd_elf32_mips_grok_psinfo.
(elf32_mips_discard_info): Rename from _bfd_elf32_mips_discard_info.
(elf32_mips_ignore_discarded_relocs): Rename from
_bfd_elf32_mips_ignore_discarded_relocs.
(elf32_mips_write_section): Rename from _bfd_elf32_mips_write_section.
(elf32_mips_irix_compat): New function, replaces IRIX_COMPAT.
(elf_mips_howto_table_rela): Remove.
* elf64-mips.c: Moved most code to elfxx-mips.c.
(bfd_elf64_bfd_reloc_type_lookup): Make static.
(mips_elf64_rtype_to_howto): New function.
(mips_elf64_object_p): Likewise.
(elf64_mips_irix_compat): Likewise.
* elfxx-mips.c: New file containing common code merged together from
elf32-mips.c and elf64-mips.c.
* elfxx-mips.h: New file containing MIPS specific prototypes from
elf-bfd.h.
* elfxx-target.h: Add handling for elf_backend_mips_irix_compat and
elf_backend_mips_rtype_to_howto.

22 years ago * srec.c (MAXCHUNK, Chunk): Revise comments.
Alan Modra [Thu, 4 Apr 2002 03:05:51 +0000 (03:05 +0000)]
* srec.c (MAXCHUNK, Chunk): Revise comments.
(srec_write_record): Correct buffer size.
(srec_write_header): Do without intermediate buffer.
(srec_write_section): Validate Chunk.
(srec_write_terminator): Pass NULL instead of dummy buffer.
(srec_write_symbols): Pass file and symbol names directly to
bfd_bwrite so sprintf won't overflow buffer.

22 years ago* configure.in: Call AC_C_INLINE.
Jim Blandy [Thu, 4 Apr 2002 00:12:41 +0000 (00:12 +0000)]
* configure.in: Call AC_C_INLINE.
* configure: Regenerated.

22 years agodaily update
Alan Modra [Thu, 4 Apr 2002 00:00:04 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 4 Apr 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years agoVarious fixes and improvements for d10v.
Tom Rix [Wed, 3 Apr 2002 19:44:05 +0000 (19:44 +0000)]
Various fixes and improvements for d10v.

22 years ago * elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
Jakub Jelinek [Wed, 3 Apr 2002 17:42:39 +0000 (17:42 +0000)]
* elf32-sparc.c (elf32_sparc_relocate_section): Don't emit dynamic
PC relative relocs against hidden symbols.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

22 years ago2002-04-03 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 3 Apr 2002 16:17:11 +0000 (16:17 +0000)]
2002-04-03  Daniel Jacobowitz  <drow@mvista.com>

        * lib/gdb.exp (gdb_test): Move -notransfer inside of gdb_expect.
        (gdb_expect): Remove $notransfer hack.

22 years ago * elf.c (_bfd_elf_make_section_from_shdr): When setting section
Alan Modra [Wed, 3 Apr 2002 13:26:34 +0000 (13:26 +0000)]
* elf.c (_bfd_elf_make_section_from_shdr): When setting section
LMAs, loop over segments until p_vaddr and p_memsz specify an
extent enclosing the section.

22 years ago * ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
Jakub Jelinek [Wed, 3 Apr 2002 10:25:41 +0000 (10:25 +0000)]
* ldexp.c (fold_binary) [DATA_SEGMENT_ALIGN]: If common page size
is smaller than maximum, round dot up to common page boundary.

22 years ago * symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
Alan Modra [Wed, 3 Apr 2002 04:10:28 +0000 (04:10 +0000)]
* symbols.c (resolve_symbol_value <O_uminus, O_bit_not,
O_logical_not>): Derive final_seg from add_symbol.
<O_multiply..O_logical_or>: More final_seg twiddles.

22 years ago2002-04-02 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Wed, 3 Apr 2002 01:35:23 +0000 (01:35 +0000)]
2002-04-02  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.c++/classes.exp ("calling method for small class"): Match
        updated register output.

22 years ago*** empty log message ***
gdbadmin [Wed, 3 Apr 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

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

22 years agoDo not allow records to cross a 64K boundary - wrap if necessary.
Nick Clifton [Tue, 2 Apr 2002 14:08:51 +0000 (14:08 +0000)]
Do not allow records to cross a 64K boundary - wrap if necessary.

22 years ago * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
Richard Henderson [Tue, 2 Apr 2002 00:32:41 +0000 (00:32 +0000)]
    * config/tc-ia64.c (ia64_cons_fix_new): Handle 8 byte iplt reloc
        in 32-bit mode.

22 years agodaily update
Alan Modra [Tue, 2 Apr 2002 00:00:07 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Tue, 2 Apr 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years agomerge from gcc
DJ Delorie [Mon, 1 Apr 2002 22:01:20 +0000 (22:01 +0000)]
merge from gcc

22 years ago2002-04-01 Nathan Williams <nathanw@wasabisystems.com>
Jason Thorpe [Mon, 1 Apr 2002 18:31:46 +0000 (18:31 +0000)]
2002-04-01  Nathan Williams  <nathanw@wasabisystems.com>

* elf.c (elfcore_netbsd_get_lwpid): Fix off-by-one erro
which caused the returned LWP ID to always be 0.

22 years ago * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
Richard Henderson [Mon, 1 Apr 2002 10:00:49 +0000 (10:00 +0000)]
    * elf32-sparc.c (WILL_CALL_FINISH_DYNAMIC_SYMBOL): New.
        (elf32_sparc_relocate_section): Use it to figure out when to
        initialize .got entries.
        * elf64-sparc.c: Similarly.

22 years ago2002-04-01 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Mon, 1 Apr 2002 05:58:45 +0000 (05:58 +0000)]
2002-04-01  Daniel Jacobowitz  <drow@mvista.com>

        * rs6000-tdep.c: Change #include of "bfd/libcoff.h"
        and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h".

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

22 years agodaily update
Alan Modra [Mon, 1 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago* NEWS: Mention gcore support on FreeBSD/i386.
Mark Kettenis [Sun, 31 Mar 2002 17:53:00 +0000 (17:53 +0000)]
* NEWS: Mention gcore support on FreeBSD/i386.

22 years ago* fbsd-proc.c: New file.
Mark Kettenis [Sun, 31 Mar 2002 17:47:17 +0000 (17:47 +0000)]
* fbsd-proc.c: New file.
* config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define.
* config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o.

22 years ago* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
Mark Kettenis [Sun, 31 Mar 2002 15:10:38 +0000 (15:10 +0000)]
* lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in
while statement.

22 years agodaily update
Alan Modra [Sun, 31 Mar 2002 00:00:09 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 31 Mar 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-03-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 30 Mar 2002 23:47:18 +0000 (23:47 +0000)]
2002-03-30  Daniel Jacobowitz  <drow@mvista.com>

        Fix PR gdb/452
        * gdb.base/dbx.exp: Restore old definition of gdb_file_cmd
        when finished.  Make gdb_file_cmd send "exec-file" when
        appropriate.

22 years ago2002-03-30 Daniel Jacobowitz <drow@mvista.com>
Daniel Jacobowitz [Sat, 30 Mar 2002 18:54:38 +0000 (18:54 +0000)]
2002-03-30  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/attach.exp: Remove extra setup_xfail.

22 years agomerge from gcc
DJ Delorie [Sat, 30 Mar 2002 06:17:57 +0000 (06:17 +0000)]
merge from gcc

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

22 years ago* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
Jim Blandy [Fri, 29 Mar 2002 23:34:43 +0000 (23:34 +0000)]
* cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate
unescaped newlines in string literals, but newer ones don't.  So
escape them.

22 years agodaily update
Alan Modra [Fri, 29 Mar 2002 23:00:07 +0000 (23:00 +0000)]
daily update

22 years ago2002-03-26 Michael Snyder <msnyder@redhat.com>
Michael Snyder [Fri, 29 Mar 2002 01:32:20 +0000 (01:32 +0000)]
2002-03-26  Michael Snyder  <msnyder@redhat.com>
            Andrew Cagney <cagney@redhat.com>

* cli/cli-dump.c: New file.  Dump memory to file,
restore file to memory.
* cli/cli-dump.h: New file.
* Makefile.in: Add rules, dependencies for cli-dump.o.
        * NEWS: Mention new commands.