binutils-gdb.git
20 years ago* sparc-tdep.c: Fix typo in comment.
Mark Kettenis [Fri, 5 Mar 2004 15:34:29 +0000 (15:34 +0000)]
* sparc-tdep.c: Fix typo in comment.

20 years ago * elf.c (map_sections_to_segments): Ignore .tbss sections for
Nathan Sidwell [Fri, 5 Mar 2004 11:26:05 +0000 (11:26 +0000)]
* elf.c (map_sections_to_segments): Ignore .tbss sections for
layout purposes.

* ldlang.c (lang_add_section): Don't force SEC_LOAD on
SEC_THREAD_LOCAL.
(IGNORE_SECTION): Ignore .tbss sections too.
(lang_size_sections_1): .tbss sections do not advance dot.

* ld-scripts/size.exp: New.
* ld-scripts/size-[12].{d,s,t}: New.

20 years ago * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.
Joel Brobecker [Fri, 5 Mar 2004 04:49:52 +0000 (04:49 +0000)]
    * hppa-tdep.c (hppa_frame_cache): Avoid undefined return value.

20 years ago * server.c (main): Print child status or termination signal from
Daniel Jacobowitz [Fri, 5 Mar 2004 03:44:27 +0000 (03:44 +0000)]
* server.c (main): Print child status or termination signal from
variable 'signal', not 'sig'.

20 years ago * linux-low.c (linux_read_memory): Change return type to
Daniel Jacobowitz [Fri, 5 Mar 2004 03:43:19 +0000 (03:43 +0000)]
* linux-low.c (linux_read_memory): Change return type to
int.  Check for and return error from ptrace().
* target.c (read_inferior_memory): Change return type to int.  Pass
back return status from the_target->read_memory().
* target.h (struct target_ops): Adapt *read_memory() prototype.
Update comment.
(read_inferior_memory): Adapt prototype.
* server.c (main): Return an error packet if
read_inferior_memory() returns an error.

20 years ago * dwarf2read.c: Add comment describing memory lifetimes.
Daniel Jacobowitz [Fri, 5 Mar 2004 03:30:36 +0000 (03:30 +0000)]
* dwarf2read.c: Add comment describing memory lifetimes.
(struct dwarf2_pinfo): Update comment.
(dwarf2_add_field, dwarf2_add_member_fn, read_structure_scope)
(read_enumeration, new_symbol): Don't use obsavestring.

20 years ago*** empty log message ***
gdbadmin [Fri, 5 Mar 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Thu, 4 Mar 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago * Makefile.in (distclean): Remove config.h, stamp-h, and config.log.
Daniel Jacobowitz [Thu, 4 Mar 2004 21:58:59 +0000 (21:58 +0000)]
* Makefile.in (distclean): Remove config.h, stamp-h, and config.log.
Unify with other clean targets.

20 years ago2004-03-04 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 4 Mar 2004 17:08:23 +0000 (17:08 +0000)]
2004-03-04  H.J. Lu  <hongjiu.lu@intel.com>

* Makefile.in: Regenerated.
* aclocal.m4: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

20 years ago* amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
Mark Kettenis [Thu, 4 Mar 2004 10:35:57 +0000 (10:35 +0000)]
* amd64-linux-nat.c (fill_fpregset): Call amd64_colletc_fxsave
instead of amd64_fill_fxsave.
* amd64bsd-nat.c (store_inferior_registers): Likewise.
* amd64fbsd-nat.c (fill_fpregset): Likewise.

20 years ago* gdb.asm/openbsd.inc: Fix typo.
Mark Kettenis [Thu, 4 Mar 2004 10:23:16 +0000 (10:23 +0000)]
* gdb.asm/openbsd.inc: Fix typo.

20 years ago* sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
Mark Kettenis [Thu, 4 Mar 2004 10:10:33 +0000 (10:10 +0000)]
* sparc-tdep.c (sparc_frame_cache): Don't bail out if %fp is zero.
Reorganize code a bit.

20 years ago2004-03-04 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Thu, 4 Mar 2004 09:10:20 +0000 (09:10 +0000)]
2004-03-04  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (cris_scan_prologue): Save the frame pointer's offset
when the frame pointer is pushed.  Don't set the frame pointer's
address on the stack unless it's actually located there.
Set the SRP's address on the stack correctly when the PC is still in
the prologue.
(cris_return_value): New function.
(cris_gdbarch_init): Clear deprecated store_return_value,
extract_return_value.

20 years ago * gas/sh/sh64/err-dsp.s: Fix expected error message.
Kaz Kojima [Thu, 4 Mar 2004 01:24:21 +0000 (01:24 +0000)]
* gas/sh/sh64/err-dsp.s: Fix expected error message.

20 years ago*** empty log message ***
gdbadmin [Thu, 4 Mar 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 3 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
Alexandre Oliva [Wed, 3 Mar 2004 21:31:10 +0000 (21:31 +0000)]
* elflink.c (bfd_elf_record_link_assignment): Mark undefweak and
undefined symbols as hash_new.

20 years ago2004-03-03 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Mar 2004 19:26:26 +0000 (19:26 +0000)]
2004-03-03  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (dot_align): New.
(ia64_do_align): Make it static.
(md_pseudo_table): Use "dot_align" for "align".
(ia64_md_do_align): Don't set align_frag here.
(ia64_handle_align): Add a stop bit to the previous bundle if
needed.

* config/tc-ia64.h (ia64_do_align): Removed.

20 years agoCommitted under "obvious fix rule".
Fred Fish [Wed, 3 Mar 2004 19:12:52 +0000 (19:12 +0000)]
Committed under "obvious fix rule".

2004-03-03  Fred Fish  <fnf@redhat.com>
* gdb.base/pc-fp.exp (get_valueofx): Fix apparent typo to now set
"val" instead of unused "size".  Update copyright year.

20 years ago2003-03-03 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Wed, 3 Mar 2004 18:01:49 +0000 (18:01 +0000)]
2003-03-03  Andrew Stubbs  <andrew.stubbs@superh.com>

opcodes:
* sh-dis.c (print_insn_sh): Don't disassemble fp instructions in
nofpu mode.  Add BFD type bfd_mach_sh4_nommu_nofpu.
* sh-opc.h: Add sh4_nommu_nofpu architecture and adjust instructions
accordingly.
bfd:
* archures.c: Add bfd_mach_sh4_nommu_nofpu.
* cpu-sh.c: Ditto.
* elf32-sh.c: Ditto.
* bfd-in2.h: Regenerate.
include/elf:
* sh.h: Add EF_SH4_NOMMU_NOFPU.
gas:
* config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
-isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
(sh_elf_final_processing): Output BFD type sh4_nofpu if that is
the most general type or the user specifically requested it.
(md_assemble): Add a new error message for when an instruction
is understood, but is not allowed due to an -isa option.

20 years ago2004-03-02 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 3 Mar 2004 04:37:38 +0000 (04:37 +0000)]
2004-03-02  H.J. Lu  <hongjiu.lu@intel.com>

* config/tc-ia64.c (align_frag): New.
(md_assemble): Set the tc_frag_data field in align_frag for
IA64_OPCODE_FIRST instructions.
(ia64_md_do_align): Set align_frag.
(ia64_handle_align): Add a stop bit if needed.

* config/tc-ia64.h (TC_FRAG_TYPE): New.
(TC_FRAG_INIT): New.

20 years ago*** empty log message ***
gdbadmin [Wed, 3 Mar 2004 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
Alexandre Oliva [Tue, 2 Mar 2004 23:01:18 +0000 (23:01 +0000)]
* elf32-frv.c (struct frv_pic_relocs_info): Added fixups and
dynrelocs.
(_frv_count_got_plt_entries): Initialize them.
(frv_pic_relocs_info_find): Add insert argument.  Adjust all
callers.
(frv_pic_relocs_info_for_global): Likewise.
(frv_pic_relocs_info_for_local): Likewise.
(frv_pic_merge_early_relocs_info): New.
(_frv_resolve_final_relocs_info): Use it in case one entry maps to
another.
(_frv_add_dyn_reloc): Add entry argument.  Adjust all callers.
Check that we don't exceed the allocated count for entry.
(_frv_add_rofixup): Likewise.
(_frv_emit_got_relocs_plt_entries): Adjust for coding standards.
(elf32_frv_finish_dynamic_sections): Improve error message in case
we emit too few rofixup entries.

20 years agodaily update
Alan Modra [Tue, 2 Mar 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago* stabsread.c (reg_value_complaint): The maximum register number
Jim Blandy [Tue, 2 Mar 2004 20:31:56 +0000 (20:31 +0000)]
* stabsread.c (reg_value_complaint): The maximum register number
is one less than the number of registers.

20 years ago2004-03-02 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 2 Mar 2004 15:58:59 +0000 (15:58 +0000)]
2004-03-02  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.h (enum i386_regnum): Add I386_DS_REGNUM,
I386_ES_REGNUM, I386_FS_REGNUM, and I386_GS_REGNUM.  Remove
trailing comma and redundant assignment of I386_ST0_REGNUM.
* amd64-nat.c (amd64_collect_native_gregset): Zero-extend the
32-bit segment registers.

20 years ago2004-03-01 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 2 Mar 2004 02:20:25 +0000 (02:20 +0000)]
2004-03-01  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_init_frame_pc_first): Fix compiler error,
use frame_relative_level and get_next_frame.

20 years ago*** empty log message ***
gdbadmin [Tue, 2 Mar 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 1 Mar 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago * configure.in (mips64*-*-linux*): Override mips*-*-linux* case
Richard Sandiford [Mon, 1 Mar 2004 19:34:14 +0000 (19:34 +0000)]
* configure.in (mips64*-*-linux*): Override mips*-*-linux* case
and disable libgcj.
* configure: Regenerated.

20 years ago* ld.texinfo (Options): Fix example for --wrap.
Andreas Schwab [Mon, 1 Mar 2004 17:33:36 +0000 (17:33 +0000)]
* ld.texinfo (Options): Fix example for --wrap.

20 years agoAdd fr450 support.
Richard Sandiford [Mon, 1 Mar 2004 10:11:46 +0000 (10:11 +0000)]
Add fr450 support.

20 years agocpu/
Richard Sandiford [Mon, 1 Mar 2004 09:42:33 +0000 (09:42 +0000)]
cpu/
* frv.cpu (nsdiv, nudiv, nsdivi, nudivi): Remove fr400 profiling unit.
(scutss): Change unit to I0.
(calll, callil, ccalll): Add missing FR550-MAJOR and profile unit.
(mqsaths): Fix FR400-MAJOR categorization.
(media-quad-multiply-cross-acc, media-quad-cross-multiply-cross-acc)
(media-quad-cross-multiply-acc): Change unit from MDUALACC to FMALL.
* frv.opc (fr400_check_insn_major_constraints): Check for (M-2,M-1)
combinations.

opcodes/
* frv-desc.c, frv-opc.c: Regenerate.

sim/frv/
* cache.c (frv_cache_init): Change fr400 cache statistics to match
the fr405.
(non_cache_access): Add missing breaks.
* interrupts.c (set_exception_status_registers): Always set EAR15
for data_access_errors.
* memory.c (fr400_check_write_address): Remove redundant alignment
check.
* model.c: Regenerate.

20 years agosim/frv/
Richard Sandiford [Mon, 1 Mar 2004 09:33:48 +0000 (09:33 +0000)]
sim/frv/
* frv.c (frvbf_iacc_cut): Rework, taking rounding into account.

testsuite/
* sim/frv/fr400/scutss.cgs: Fix tests to account for rounding.
Add some new ones.

20 years agocpu/
Richard Sandiford [Mon, 1 Mar 2004 09:26:33 +0000 (09:26 +0000)]
cpu/
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
(rstb, rsth, rst, rstd, rstq): Delete.
(rstbf, rsthf, rstf, rstdf, rstqf): Delete.

gas/testsuite/
* gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops.
(rstbf, rsthf, rstf, rstdf, rstqf): Likewise.
* gas/frv/allinsn.d: Update accordingly.

opcodes/
* frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.

sim/frv/
* decode.c, decode.h, model.c, sem.c: Regenerate.

sim/testsuite/
* sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
* sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.

20 years ago2004-02-29 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 1 Mar 2004 00:50:56 +0000 (00:50 +0000)]
2004-02-29  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_init_frame_pc_first): New function.
(rs6000_gdbarch_init): Set deprecated_init_frame_pc_first.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST):
Delete macro.

20 years ago*** empty log message ***
gdbadmin [Mon, 1 Mar 2004 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sun, 29 Feb 2004 23:00:21 +0000 (23:00 +0000)]
daily update

20 years ago * gdb.cp/ctti.exp: Handle unsigned char type. Expect templates
Daniel Jacobowitz [Sun, 29 Feb 2004 22:29:15 +0000 (22:29 +0000)]
* gdb.cp/ctti.exp: Handle unsigned char type.  Expect templates
to use unsigned char.
* gdb.cp/cttiadd.c, gdb.cp/cttiadd1.c, gdb.cp/cttiadd2.c,
gdb.cp/cttiadd3.c: Change type of variable to unsigned char.

20 years ago * inflow.c (terminal_inferior): Don't give up the terminal if we
Daniel Jacobowitz [Sun, 29 Feb 2004 19:17:49 +0000 (19:17 +0000)]
* inflow.c (terminal_inferior): Don't give up the terminal if we
previously couldn't get the inferior's terminal state.

20 years ago * regcache.c (read_pc_pid): Restore inferior_ptid after reading
Daniel Jacobowitz [Sun, 29 Feb 2004 17:01:38 +0000 (17:01 +0000)]
* regcache.c (read_pc_pid): Restore inferior_ptid after reading
PC_REGNUM.

20 years ago * config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
Daniel Jacobowitz [Sun, 29 Feb 2004 16:51:48 +0000 (16:51 +0000)]
* config/gdbserver.exp (gdbserver_gdb_load): Wait for a complete
line of output.

20 years ago * server.c (handle_v_cont): Call set_desired_inferior.
Daniel Jacobowitz [Sun, 29 Feb 2004 16:49:38 +0000 (16:49 +0000)]
* server.c (handle_v_cont): Call set_desired_inferior.

20 years ago * remote-utils.c (prepare_resume_reply): Always supply "thread:".
Daniel Jacobowitz [Sun, 29 Feb 2004 16:48:29 +0000 (16:48 +0000)]
* remote-utils.c (prepare_resume_reply): Always supply "thread:".

20 years ago * linux-low.c (linux_wait): Unblock async I/O.
Daniel Jacobowitz [Sun, 29 Feb 2004 16:47:15 +0000 (16:47 +0000)]
* linux-low.c (linux_wait): Unblock async I/O.
(linux_resume): Block and enable async I/O.
* remote-utils.c (block_async_io, unblock_async_io): New functions.
* server.h (block_async_io, unblock_async_io): Add prototypes.

20 years ago * remote-utils.c (remote_open): Print a status notice after
Daniel Jacobowitz [Sun, 29 Feb 2004 16:46:01 +0000 (16:46 +0000)]
* remote-utils.c (remote_open): Print a status notice after
opening a TCP port.
* server.c (attach_inferior): Print a status notice after
attaching.

20 years ago * linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode.
Daniel Jacobowitz [Sun, 29 Feb 2004 16:43:49 +0000 (16:43 +0000)]
* linux-arm-low.c (arm_get_pc): Print out stop PC in debug mode.

20 years ago2004-02-28 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Sun, 29 Feb 2004 06:11:52 +0000 (06:11 +0000)]
2004-02-28  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (_bfd_elf_link_add_archive_symbols): New prototype.

* elflink.h (is_global_data_symbol_definition): Moved to
elflink.c.
(elf_link_is_defined_archive_symbol): Likewise.
(elf_link_add_archive_symbols): Likewise. Renamed to
_bfd_elf_link_add_archive_symbols.

* elflink.c (elf_link_is_defined_archive_symbol): Get the size
of ELF symbol table entry from backend.
(_bfd_elf_link_add_archive_symbols): Call bfd_link_add_symbols
instead of elf_link_add_object_symbols.

20 years agoBranch didn't get cut, remove reference.
Andrew Cagney [Sun, 29 Feb 2004 03:39:04 +0000 (03:39 +0000)]
Branch didn't get cut, remove reference.

20 years agoFix tipo.
Andrew Cagney [Sun, 29 Feb 2004 02:59:16 +0000 (02:59 +0000)]
Fix tipo.

20 years ago * gdb.base/relocate.c (dummy): Initialize.
Daniel Jacobowitz [Sun, 29 Feb 2004 02:58:28 +0000 (02:58 +0000)]
* gdb.base/relocate.c (dummy): Initialize.

20 years ago2004-02-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 29 Feb 2004 02:57:24 +0000 (02:57 +0000)]
2004-02-28  Andrew Cagney  <cagney@redhat.com>

* NEWS: Refer to GDB 6.1.
* README: Refer to GDB 6.1.
* PROBLEMS: Refer to GDB 6.1.

Index: doc/ChangeLog
2004-02-28  Andrew Cagney  <cagney@redhat.com>

* gdb.texinfo (Contributors): Mention GDB 6.1 release engineer.

20 years ago * gdb.base/chng-syms.exp: Anchor exit pattern. Allow
Daniel Jacobowitz [Sun, 29 Feb 2004 02:55:21 +0000 (02:55 +0000)]
* gdb.base/chng-syms.exp: Anchor exit pattern.  Allow
a breakpoint at exit.

20 years ago * thread-db.c (disable_thread_signals): Remove unused function.
Daniel Jacobowitz [Sun, 29 Feb 2004 02:39:47 +0000 (02:39 +0000)]
* thread-db.c (disable_thread_signals): Remove unused function.

20 years agoOops, move branch message to correct position.
Andrew Cagney [Sun, 29 Feb 2004 02:16:56 +0000 (02:16 +0000)]
Oops, move branch message to correct position.

20 years agoGDB 6.1 branch created.
Andrew Cagney [Sun, 29 Feb 2004 02:09:34 +0000 (02:09 +0000)]
GDB 6.1 branch created.

20 years ago*** empty log message ***
gdbadmin [Sun, 29 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sat, 28 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago PR bootstrap/7087
Nathanael Nerode [Sat, 28 Feb 2004 22:03:47 +0000 (22:03 +0000)]
PR bootstrap/7087
* Makefile.tpl: Guard XFOO sed statements better.
* Makefile.tpl: Add dependency for configure-target-libada.
* Makefile.in: Regenerate (incidentally fixes broken
commit when libada-branch was merged).

20 years ago* amd64-nat.c: Include "gdb_string.h".
Mark Kettenis [Sat, 28 Feb 2004 21:55:48 +0000 (21:55 +0000)]
* amd64-nat.c: Include "gdb_string.h".
(amd64_collect_native_gregset): Zero-extend the 32-bit
general-purpose registers and %eip.

20 years ago2004-02-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 28 Feb 2004 21:52:04 +0000 (21:52 +0000)]
2004-02-28  Andrew Cagney  <cagney@redhat.com>

* src-release (CVS_NAMES): Define.
(do-tar, do-tar): Prune $(CVS_NAMES).

20 years ago* amd64-tdep.h: (amd64_collect_fxsave): New prototype.
Mark Kettenis [Sat, 28 Feb 2004 20:48:57 +0000 (20:48 +0000)]
* amd64-tdep.h: (amd64_collect_fxsave): New prototype.
* amd64-tdep.c (amd64_collect_fxsave): New function.
(amd64_fill_fxsave): Simply call amd64_collect_fxsave.

20 years ago* i387-tdep.h: Update copyright year.
Mark Kettenis [Sat, 28 Feb 2004 20:43:51 +0000 (20:43 +0000)]
* i387-tdep.h: Update copyright year.
(i387_collect_fxsave): New prototype.
* i387-tdep.c: Update copyright year.
(i387_collect_fxsave): New function containing most of the code
from i387_fill_fxsave.
(i387_fill_fxsave): Call i387_collect_fxsave.

20 years ago2004-02-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 28 Feb 2004 19:38:21 +0000 (19:38 +0000)]
2004-02-28  Andrew Cagney  <cagney@redhat.com>

        * amd64-linux-nat.c (ps_get_thread_area): When architecture is
i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.

20 years agoOops, wrong patch :-(
Andrew Cagney [Sat, 28 Feb 2004 18:54:31 +0000 (18:54 +0000)]
Oops, wrong patch :-(

20 years ago2004-02-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 28 Feb 2004 18:52:19 +0000 (18:52 +0000)]
2004-02-28  Andrew Cagney  <cagney@redhat.com>

        * amd64-linux-nat.c (ps_get_thread_area): When architecture is
i386 use PTRACE_GET_THREAD_AREA.  Suggested by Roland McGrath.

20 years ago* amd64-tdep.c (amd64_frame_cache): Fix comment.
Mark Kettenis [Sat, 28 Feb 2004 18:07:58 +0000 (18:07 +0000)]
* amd64-tdep.c (amd64_frame_cache): Fix comment.

20 years ago2004-02-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 28 Feb 2004 18:04:37 +0000 (18:04 +0000)]
2004-02-28  Andrew Cagney  <cagney@redhat.com>

* utils.c: Use "", instead of <>, to include readline.
tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto.
* tracepoint.c, top.c, symmisc.c, symfile.c: Ditto.
* source.c, solib.c, exec.c, event-top.c: Ditto.
* corelow.c, completer.c, cli/cli-setshow.c: Ditto.
* cli/cli-dump.c, cli/cli-cmds.c: Ditto.
* Makefile.in: Update all dependencies.
(readline_tilde_h, readline_history_h): Define.
(readline_headers): Delete.

20 years ago* config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
Mark Kettenis [Sat, 28 Feb 2004 18:01:48 +0000 (18:01 +0000)]
* config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" to
"config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to
"config/i386/tm-lx64.h".

20 years ago* config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
Mark Kettenis [Sat, 28 Feb 2004 17:55:39 +0000 (17:55 +0000)]
* config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" to
"amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c".  Remove
rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".

20 years ago2004-02-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 28 Feb 2004 16:59:32 +0000 (16:59 +0000)]
2004-02-28  Andrew Cagney  <cagney@redhat.com>

* dwarf2-frame.h (struct gdbarch): Add opaque declaration.

20 years ago2004-02-28 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sat, 28 Feb 2004 16:56:12 +0000 (16:56 +0000)]
2004-02-28  Andrew Cagney  <cagney@redhat.com>

* breakpoint.c (_initialize_breakpoint): Use
"add_setshow_auto_boolean_cmd.  Better word-wrap help messages.
Add help to show command.

20 years ago* i386-nat.c: Reformat to be closer to coding standards.
Mark Kettenis [Sat, 28 Feb 2004 15:38:04 +0000 (15:38 +0000)]
* i386-nat.c: Reformat to be closer to coding standards.
(i386_handle_nonaligned_watchpoint): Rename local variable `rv' to
`retval'.  Make variables `align' and `size' local to while-loop.
(i386_stopped_data_address): Rename local variable `ret' to `addr'.
(_initialize_i386_nat): New prototype.

20 years ago* tui/tui.c: Include <readline/readline.h> instead of
Mark Kettenis [Sat, 28 Feb 2004 15:02:35 +0000 (15:02 +0000)]
* tui/tui.c: Include <readline/readline.h> instead of
"readline/readline.h".  Include it after <term.h> and
"gdb_curses.h".

20 years agoReviewed and approved by drow@false.org.
Fred Fish [Sat, 28 Feb 2004 05:40:46 +0000 (05:40 +0000)]
Reviewed and approved by drow@false.org.

2004-02-27  Fred Fish  <fnf@redhat.com>
* gdb.base/chng-syms.exp: Add expect condition to match failing
case that isn't a timeout.

20 years ago* elf-bfd.h (struct elf_backend_data): Added
Alexandre Oliva [Sat, 28 Feb 2004 00:35:45 +0000 (00:35 +0000)]
* elf-bfd.h (struct elf_backend_data): Added
elf_backend_can_make_relative_eh_frame,
elf_backend_can_make_lsda_relative_eh_frame and
elf_backend_encode_eh_address.
(_bfd_elf_encode_eh_address): Declare.
(_bfd_elf_can_make_relative): Declare.
* elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Use new
hooks to decide whether to attempt to make_relative and
make_lsda_relative.
(_bfd_elf_write_section_eh_frame_hdr): Call encode_eh_address.
(_bfd_elf_can_make_relative): New.
(_bfd_elf_encode_eh_address): New.
* elf32-frv.c (frv_elf_use_relative_eh_frame): New.
(frv_elf_encode_eh_address): New.
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
* elfxx-target.h
(elf_backend_can_make_relative_eh_frame): Define.
(elf_backend_can_make_lsda_relative_eh_frame): Define.
(elf_backend_encode_eh_address): Define.
(elfNN_bed): Add them.

20 years ago* elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set
Alexandre Oliva [Sat, 28 Feb 2004 00:33:33 +0000 (00:33 +0000)]
* elf32-frv.c (elf32_frv_howto_table) <R_FRV_LABEL16>: Set
complain_on_overflow to signed.

20 years ago*** empty log message ***
gdbadmin [Sat, 28 Feb 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 27 Feb 2004 23:00:04 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 27 Feb 2004 21:47:53 +0000 (21:47 +0000)]
2004-02-27  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use
the new frame unwind code.
(hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM.
(hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from
PCOQ_HEAD_REGNUM.

20 years agoIndex: ChangeLog
Andrew Cagney [Fri, 27 Feb 2004 19:06:16 +0000 (19:06 +0000)]
Index: ChangeLog
2004-02-27  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always
"return_value" and "push_dummy_call".
(hppa32_use_struct_convention): Delete unused function.
(hppa32_store_return_value): Delete unused function.
(hppa32_extract_return_value): Delete unused function.
(hppa32_stack_align): Delete function.

20 years ago2004-02-27 Eli Zaretskii <eliz@elta.co.il>
Eli Zaretskii [Fri, 27 Feb 2004 17:46:11 +0000 (17:46 +0000)]
2004-02-27  Eli Zaretskii  <eliz@elta.co.il>

* coffread.c (enter_linenos): Don't let rawptr reference memory
outside linetab[]'s limits.

20 years ago2004-02-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Fri, 27 Feb 2004 17:02:48 +0000 (17:02 +0000)]
2004-02-27  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.h (sort_symbol): New.
(elf_link_add_object_symbols): Use a sorted symbol array for
weakdef.

20 years ago2004-02-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 27 Feb 2004 16:48:03 +0000 (16:48 +0000)]
2004-02-27  Andrew Cagney  <cagney@redhat.com>

* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile
support.

20 years ago2004-02-27 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Fri, 27 Feb 2004 16:38:39 +0000 (16:38 +0000)]
2004-02-27  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving
inferior stack space - the stack needs to grow upwards.
(hppa32_frame_align): New function.
(hppa64_frame_align): Replace hppa_frame_align.
(hppa_gdbarch_init): Update.

20 years ago2004-02-26 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Fri, 27 Feb 2004 14:17:36 +0000 (14:17 +0000)]
2004-02-26  Andrew Stubbs  <andrew.stubbs@superh.com>

* sh-opc.h: Move fsca and fsrra instructions from sh4a to sh4.
Also correct mistake in the comment.

20 years agoAdd -no-bitinst switch for M32R2
Nick Clifton [Fri, 27 Feb 2004 14:13:18 +0000 (14:13 +0000)]
Add -no-bitinst switch for M32R2

20 years agoUndo previous delta
Nick Clifton [Fri, 27 Feb 2004 13:16:39 +0000 (13:16 +0000)]
Undo previous delta
Fix underlying problem by changing the order of tests of rel->howto.

20 years ago2004-02-26 Orjan Friberg <orjanf@axis.com>
Orjan Friberg [Fri, 27 Feb 2004 12:39:26 +0000 (12:39 +0000)]
2004-02-26  Orjan Friberg  <orjanf@axis.com>

* cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h)
(dwarf2-frame.h): Include.
(enum cris_regnums): New enum CRIS_FP_REGNUM.
Remove static variables related to ABI setting.
(struct gdbarch_tdep): Remove cris_abi member.
(struct frame_extra_info): Remove.
(cris_unwind_cache, stack_item): New structs.
(cris_frame_unwind, cris_frame_base): New variables.
(push_stack_item, pop_stack_item)
(cris_frame_unwind_cache, cris_frame_this_id)
(cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align)
(cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer)
(cris_frame_base_address, cris_scan_prologue, cris_unwind_pc)
(cris_unwind_sp, cris_store_return_value, cris_extract_return_value)
(cris_reg_struct_has_addr): New functions.
(cris_examine, cris_frame_init_saved_regs, cris_frame_chain)
(cris_frame_saved_pc, cris_saved_pc_after_call,
(cris_store_struct_return, cris_frameless_function_invocation)
(cris_pop_frame, cris_skip_prologue_main)
(cris_abi_original_store_return_value)
(cris_abi_v2_store_return_value)
(cris_abi_original_extract_return_value)
(cris_abi_v2_extract_return_value)
(cris_abi_original_reg_struct_has_addr)
(cris_abi_v2_reg_struct_has_addr)
(cris_abi_original_push_arguments, cris_abi_v2_push_arguments)
(cris_push_return_address, cris_abi_update): Remove.
(_initialize_cris_tdep): Remove ABI command.
(cris_dump_tdep): Ditto.
(cris_gdbarch_init): Remove ABI command.
Set store_return_value, extract_return_value, push_dummy_code,
push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id,
frame_unwind_append_sniffer, frame_base_set_default.
Clear deprecated init_frame_pc, push_arguments, store_return_value,
extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words,
sizeof_call_dummy_words, get_saved_register, push_return_address,
pop_frame, store_struct_return, frame_init_saved_regs,
init_extra_frame_info, frameless_function_invocation, frame_chain,
frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos,
dummy_write_sp.

20 years ago * config/tc-s390.c (s390_insn): Correct range check for opcode in
Martin Schwidefsky [Fri, 27 Feb 2004 12:33:11 +0000 (12:33 +0000)]
* config/tc-s390.c (s390_insn): Correct range check for opcode in
.insn pseudo operation.

20 years agoFix seg fault on erroneous input
Nick Clifton [Fri, 27 Feb 2004 12:21:57 +0000 (12:21 +0000)]
Fix seg fault on erroneous input

20 years ago * ar.c (main): Support POSIX-compatible argument parsing.
Andreas Schwab [Fri, 27 Feb 2004 11:04:36 +0000 (11:04 +0000)]
* ar.c (main): Support POSIX-compatible argument parsing.

testsuite:
* binutils-all/ar.exp (argument_parsing): New test.

20 years ago * elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
Martin Schwidefsky [Fri, 27 Feb 2004 10:03:05 +0000 (10:03 +0000)]
* elf32-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
for pc relative relocs.
(elf_s390_relocate_section): Likewise.
* elf64-s390.c (allocate_dynrelocs): Use SYMBOL_REFERENCES_LOCAL
for pc relative relocs.
(elf_s390_relocate_section): Likewise.

20 years ago2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 27 Feb 2004 00:01:14 +0000 (00:01 +0000)]
2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>

        * valprint.h (print_hex_chars, print_char_chars): New prototypes.
        * valprint.c (print_hex_chars): Change from static to external.
        (print_char_chars): New function.
        * printcmd.c (print_scalar_formatted): For integer and enum types
        that are longer than LONGEST, perform processing via appropriate
        print_*_chars routines.

20 years ago*** empty log message ***
gdbadmin [Fri, 27 Feb 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agoIndex: ChangeLog
Andrew Cagney [Thu, 26 Feb 2004 23:48:01 +0000 (23:48 +0000)]
Index: ChangeLog
2004-02-26  Andrew Cagney  <cagney@redhat.com>

* Makefile.in: Update dependencies.
Changes from Ulrich Weigand,
* s390-tdep.c: Include "dwarf2-frame.h".
(s390_dwarf2_frame_init_reg): New function.
(s390_gdbarch_init): Install dwarf2_frame_sniffer and
dwarf2_frame_base_sniffer.  Call dwarf2_frame_set_init_reg.

20 years ago2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 26 Feb 2004 23:46:47 +0000 (23:46 +0000)]
2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>

        * breakpoint.c (pending_break_support): New setting variable.
        (break_command_1): Account for pending_break_support setting
        when creating pending breakpoints.
        (set_breakpoint_cmd, show_breakpoint_cmd): New functions.
        (_initialize_breakpoint): Add "set breakpoint pending" and
        "show breakpoint pending" commands.

20 years ago2004-02-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 26 Feb 2004 23:21:23 +0000 (23:21 +0000)]
2004-02-26  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb.texinfo (breakpoints): Add information about the
        new "set breakpoint pending" and "show breakpoint pending"
        commands.

20 years agodaily update
Alan Modra [Thu, 26 Feb 2004 23:00:05 +0000 (23:00 +0000)]
daily update