binutils-gdb.git
20 years agoChange LOCALEDIR to $(datadir)/share.
Nick Clifton [Tue, 30 Nov 2004 17:20:48 +0000 (17:20 +0000)]
Change LOCALEDIR to $(datadir)/share.

20 years ago2004-11-30 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 30 Nov 2004 15:15:27 +0000 (15:15 +0000)]
2004-11-30  Andrew Cagney  <cagney@gnu.org>

* config/nm-gnu.h: Delete file.
* config/i386/nm-i386gnu.h: Inline "config/nm-gnu.h".

20 years ago2004-11-30 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Tue, 30 Nov 2004 15:05:20 +0000 (15:05 +0000)]
2004-11-30  Andrew Cagney  <cagney@gnu.org>

* config/nm-sysv4.h: Delete file.
* config/i386/nm-i386v4.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386v42mp.h: Inline "config/nm-sysv4.h".
* config/i386/nm-i386sol2.h: Inline "config/nm-sysv4.h".
* config/ia64/nm-aix.h: Inline "config/nm-sysv4.h".
* config/mips/nm-irix5.h: Inline "config/nm-sysv4.h".

20 years ago* Make-common.in (sim-basics_h): Correct dependencies on
Richard Earnshaw [Tue, 30 Nov 2004 13:44:13 +0000 (13:44 +0000)]
* Make-common.in (sim-basics_h): Correct dependencies on
cconfig.h and tconfig.h
(sim-load.o): Correct typo in sim-basics_h dependency.

20 years agomerge from gcc
DJ Delorie [Tue, 30 Nov 2004 03:01:37 +0000 (03:01 +0000)]
merge from gcc

20 years ago * elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
Alan Modra [Tue, 30 Nov 2004 00:50:36 +0000 (00:50 +0000)]
* elf32-hppa.c (elf32_hppa_grok_prstatus): New function.
(elf32_hppa_grok_psinfo): New function.
(elf_backend_grok_prstatus): Define.
(elf_backend_grok_psinfo): Define.

20 years ago*** empty log message ***
gdbadmin [Tue, 30 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Mon, 29 Nov 2004 23:00:05 +0000 (23:00 +0000)]
daily update

20 years ago2004-11-29 Andrew Cagney <cagney@gnu.org>
Andrew Cagney [Mon, 29 Nov 2004 22:29:45 +0000 (22:29 +0000)]
2004-11-29  Andrew Cagney  <cagney@gnu.org>

* MAINTAINERS: Add Randolph Chung (pa), Jeff Johnston (ia64), Kei
Sakamoto (m32r), Joel Brobecker (mips), and Ulrich Weigand (s390)
as can-commit architecture developers.

20 years ago* sparc-tdep.c (X_RS1, X_SIMM13): New macros.
Mark Kettenis [Mon, 29 Nov 2004 19:52:44 +0000 (19:52 +0000)]
* sparc-tdep.c (X_RS1, X_SIMM13): New macros.
(sparc32_skip_prologue): Skip instructions that store arguments in
registers into their corresponding stack slots.

20 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:36:50 +0000 (16:36 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* opcode/crx.h (enum operand_type): Rename rbase_cst4 to rbase_dispu4.
Remove redundant instruction types.
(struct argument): X_op - new field.
(struct cst4_entry): Remove.
(no_op_insn): Declare.

20 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:34:35 +0000 (16:34 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* crx-opc.c (crx_optab): Mark all rbase_disps* operands as signed.
(no_op_insn): Initialize array with instructions that have no
operands.
* crx-dis.c (make_instruction): Get rid of COP_BRANCH_INS operand swapping.

20 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:31:22 +0000 (16:31 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/br_insn.d: Fix error in expected disassembly.

20 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:24:58 +0000 (16:24 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* gas/crx/br_insn.d: Fix error in expected disassembly.

20 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:23:10 +0000 (16:23 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation handling.

20 years ago2004-11-29 Tomer Levi <Tomer.Levi@nsc.com>
Tomer Levi [Mon, 29 Nov 2004 16:21:50 +0000 (16:21 +0000)]
2004-11-29  Tomer Levi  <Tomer.Levi@nsc.com>

* config/tc-crx.c: Major code cleanup. Remove unused variables and functions,
give functions a meaningful name, add comments.
(check_range): New function - Replace operand size calculation
with range checking.
(assemble_insn): Update Algorithm, improve error issuing.
(enum op_err): New - Operand error (for issuing operand error messages).
(process_label_constant): Bug fix regarding COP_BRANCH_INS relocation
handling.

20 years ago* config/m68k/nbsdaout.mh (NAT_FILE): Set to solib.h instead of
Mark Kettenis [Mon, 29 Nov 2004 15:53:13 +0000 (15:53 +0000)]
* config/m68k/nbsdaout.mh (NAT_FILE): Set to solib.h instead of
tm-solib.h.
* config/m68k/obsd.mh (NAT_FILE): Likewise.

20 years ago* sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype.
Mark Kettenis [Mon, 29 Nov 2004 15:20:28 +0000 (15:20 +0000)]
* sparc-tdep.h (sparc32nbsd_elf_init_abi): New prototype.
* sparcnbsd-tdep.c (sparc32nbsd_elf_init_abi): Make global.
* sparcobsd-tdep.c (sparc32obsd_init_abi): Call
sparc32nbsd_elf_init_abi.  Remove duplicate code.

20 years agoFixed a pcrel relocte miss between different section in the same module.
Nick Clifton [Mon, 29 Nov 2004 15:09:28 +0000 (15:09 +0000)]
Fixed a pcrel relocte miss between different section in the same module.

20 years ago * cris.cpu: New file.
Hans-Peter Nilsson [Mon, 29 Nov 2004 11:52:11 +0000 (11:52 +0000)]
* cris.cpu: New file.

20 years ago* config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h.
Mark Kettenis [Mon, 29 Nov 2004 11:20:10 +0000 (11:20 +0000)]
* config/sparc/nbsdaout.mh (NAT_FILE): Set to solib.h.
* config/sparc/nbsdelf.mh (NAT_FILE): Remove variable.
* config/sparc/nm-nbsd.h: Remove file.
* config/sparc/nm-nbsdaout.h: Remove file.

20 years ago* arm-dis.c: Correct top-level comment.
Richard Earnshaw [Mon, 29 Nov 2004 10:12:57 +0000 (10:12 +0000)]
* arm-dis.c: Correct top-level comment.

20 years ago* gdb.base/bitfields2.exp: New test.
Paul N. Hilfinger [Mon, 29 Nov 2004 09:11:20 +0000 (09:11 +0000)]
* gdb.base/bitfields2.exp: New test.
* gdb.base/bitfields2.c: New file.

20 years ago* sparc-nat.c (inf_ptrace_xfer_partial): New variable.
Mark Kettenis [Mon, 29 Nov 2004 08:41:56 +0000 (08:41 +0000)]
* sparc-nat.c (inf_ptrace_xfer_partial): New variable.
(sparc_xfer_partial): New function.
(sparc_target): Save value of to_xfer_partial from ptrace vector.
Set to_xfer_partial.

20 years ago* fork-child.c (fork_inferior): Fork instead of vfork if
Mark Kettenis [Mon, 29 Nov 2004 08:37:14 +0000 (08:37 +0000)]
* fork-child.c (fork_inferior): Fork instead of vfork if
PRE_TRACE_FUN is non-null.

20 years ago*** empty log message ***
gdbadmin [Mon, 29 Nov 2004 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.
Richard Earnshaw [Sun, 28 Nov 2004 23:17:33 +0000 (23:17 +0000)]
* config/sim.exp (gdb_load): Return 0 on success, -1 on failure.

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

20 years ago*** empty log message ***
gdbadmin [Sun, 28 Nov 2004 00:00:39 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Sat, 27 Nov 2004 23:00:45 +0000 (23:00 +0000)]
daily update

20 years agoTweak last entry.
Richard Earnshaw [Sat, 27 Nov 2004 11:18:29 +0000 (11:18 +0000)]
Tweak last entry.

20 years ago* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
Richard Earnshaw [Sat, 27 Nov 2004 11:12:19 +0000 (11:12 +0000)]
* gas/testsuite/arm/thumbv6.d (setend): Remove stray tab at end
of dump pattern.

20 years ago* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
Richard Earnshaw [Sat, 27 Nov 2004 11:09:21 +0000 (11:09 +0000)]
* arm-opc.h (arm_opcode, thumb_opcode): Add extra field for the
architecuture defining the insn.
(arm_opcodes, thumb_opcodes): Delete.  Move to ...
* arm-dis.c (arm_opcodes, thumb_opcodes): Here.
Also include opcode/arm.h.
* Makefile.am (arm-dis.lo): Update dependency list.
* Makefile.in: Regenerate.

20 years ago*** empty log message ***
gdbadmin [Sat, 27 Nov 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

20 years ago * configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
Dave Anglin [Fri, 26 Nov 2004 23:57:58 +0000 (23:57 +0000)]
* configure.in (hppa*-*-linux*): Don't add libgcj to noconfigdirs.
(hppa*64*-*-*): Delete incorrect comment.
* configure: Rebuilt.

20 years agodaily update
Alan Modra [Fri, 26 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update

20 years agoAdd support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.
Nick Clifton [Fri, 26 Nov 2004 16:23:03 +0000 (16:23 +0000)]
Add support for atmega165, atmega325, atmega3250, atmega645 and atmega6450.

20 years agoAdd support for --subsystem:xbox as well as --subsystem:<number>.
Nick Clifton [Fri, 26 Nov 2004 09:42:04 +0000 (09:42 +0000)]
Add support for --subsystem:xbox as well as --subsystem:<number>.

20 years ago*** empty log message ***
gdbadmin [Fri, 26 Nov 2004 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years agoReally fix it.
H.J. Lu [Thu, 25 Nov 2004 20:15:00 +0000 (20:15 +0000)]
Really fix it.

20 years ago2004-11-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 25 Nov 2004 20:10:03 +0000 (20:10 +0000)]
2004-11-25  H.J. Lu  <hongjiu.lu@intel.com>

* gas/ia64/group-1.d: Adjust expected secion ordering.

20 years agogas/
Jan Beulich [Thu, 25 Nov 2004 08:42:54 +0000 (08:42 +0000)]
gas/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* config/tc-i386.c (optimize_imm): Adjust immediates to only those
permissible for the selected instruction suffix.
(process_suffix): For DefaultSize instructions, suppressing the
guessing of a 'q' suffix if the instruction doesn't support it is
pointless, because only an 'l' suffix can be guessed in this place.

gas/testsuite/
2004-11-25 Jan Beulich <jbeulich@novell.com>
* gas/i386/x86-64-inval.[sl]: Remove sahf/lahf.

include/opcode/
2004-11-25 Jan Beulich <jbeulich@novell.com>

* i386.h: CpuNo64 mov can't reasonably have a 'q' suffix. Moves
to/from test registers are illegal in 64-bit mode. Add missing
NoRex64 to sidt. fxsave/fxrstor now allow for a 'q' suffix
(previously one had to explicitly encode a rex64 prefix). Re-enable
lahf/sahf in 64-bit mode as at least some Athlon64/Opteron steppings
support it there. Add cmpxchg16b as per Intel's 64-bit documentation.

20 years agoApproved by Kevin Buettner <kevinb@redhat.com>
Fred Fish [Thu, 25 Nov 2004 02:48:27 +0000 (02:48 +0000)]
Approved by Kevin Buettner <kevinb@redhat.com>

2004-11-24  Fred Fish  <fnf@specifixinc.com>
* rs6000-tdep.c (skip_prologue): Use line table info to skip over
compiler generated function calls made as part of a prologue.

20 years ago2004-11-24 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 25 Nov 2004 02:14:10 +0000 (02:14 +0000)]
2004-11-24  H.J. Lu  <hongjiu.lu@intel.com>

PR 574:
* elfcode.h (elf_slurp_symbol_table): Handle STT_TLS.

20 years ago2004-11-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Thu, 25 Nov 2004 00:56:00 +0000 (00:56 +0000)]
2004-11-24  Paul Brook  <paul@codesourcery.com>

bfd/
* elf.c (assign_section_numbers): Number SHT_GROUP sections first.
gas/testsuite/
* gas/elf/group0a.d: Adjust expected secion ordering.
* gas/elf/group1a.d: Ditto.
* gas/elf/section4.d: Ditto.

20 years ago*** empty log message ***
gdbadmin [Thu, 25 Nov 2004 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Wed, 24 Nov 2004 23:00:09 +0000 (23:00 +0000)]
daily update

20 years ago2004-11-24 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 24 Nov 2004 14:44:47 +0000 (14:44 +0000)]
2004-11-24  Paul Brook  <paul@codesourcery.com>

bfd/
* elf32-arm.c (elf32_arm_swap_symbol_in): New function.
(elf32_arm_swap_symbol_out): New function.
(elf32_arm_size_info): Add.
(elf_backend_size_info): Define.
ld/testsuite/
* ld-arm/mixed-lib.sym: Update for THUMB_FUNC change.

20 years agoRemove IQ10 support from IQ2000 port
Nick Clifton [Wed, 24 Nov 2004 13:23:53 +0000 (13:23 +0000)]
Remove IQ10 support from IQ2000 port

20 years ago Add checks for other variants of the sr and st instruction.
Nick Clifton [Wed, 24 Nov 2004 12:03:30 +0000 (12:03 +0000)]
 Add checks for other variants of the sr and st instruction.

20 years ago * ldexp.c (fold_name): Correct PR 338 fix.
Alan Modra [Wed, 24 Nov 2004 11:30:17 +0000 (11:30 +0000)]
* ldexp.c (fold_name): Correct PR 338 fix.

20 years agomerge from gcc
DJ Delorie [Wed, 24 Nov 2004 03:00:34 +0000 (03:00 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Wed, 24 Nov 2004 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 23 Nov 2004 23:00:07 +0000 (23:00 +0000)]
daily update

20 years ago* inf-ttrace.c: New file.
Mark Kettenis [Tue, 23 Nov 2004 21:14:33 +0000 (21:14 +0000)]
* inf-ttrace.c: New file.
* inf-ttrace.h: New file.
* hppa-hpux-nat.c [HAVE_TTRACE]: Include <sys/ttrace>.
Include "inf-ttrace.h".
(ss_mpsfu_high): Define to ss_tlsp if necessary.
(hppa_hpux_fetch_register, hppa_hpux_store_register): Use
ptid_get_pid instead of PIDGET.  Modify to handle both ttrace and
ptrace systems.
(_initialize_hppa_hpux_nat) [HAVE_TTRACE]: Call inf_ttrace_traget
instead of inf_ptrace_target.
* config/pa/hpux.mh (NATDEPFILES): Add inf-ttrace.o.
* Makefile.in (inf_ttrace_h): New variable.
(hppa-hpux-nat.o): Update dependency.
(inf-ttrace.o): New dependency.
(ALLDEPFILES): Add inf-ptrace.c and inf-ttrace.c.

20 years ago2004-11-23 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 23 Nov 2004 21:05:23 +0000 (21:05 +0000)]
2004-11-23  Randolph Chung  <tausq@debian.org>

* arch-utils.c (generic_instruction_nullified): New.
* arch-utils.h (generic_instruction_nullified): New.
* gdbarch.sh (instruction_nullified): New method.
* gdbarch.c: Regenerate.
* gdbarch.h: Regenerate.
* infrun.c (INSTRUCTION_NULLIFIED): Delete.
(handle_inferior_event): Replace INSTRUCTION_NULLIFIED with calls to
new gdbarch method.
* config/pa/tm-hppa.h (INSTRUCTION_NULLIFIED): Delete definition.
* hppa-tdep.c (hppa_instruction_nullified): Remove prototype and make
static.  Rewrite to work directly off the passed regcache.
(hppa_gdbarch_init): Set instruction_nullified method.

20 years ago2004-11-16 Randolph Chung <tausq@debian.org>
Randolph Chung [Tue, 23 Nov 2004 19:51:35 +0000 (19:51 +0000)]
2004-11-16  Randolph Chung  <tausq@debian.org>

* gdb.base/unload.exp: Pass relative path to gdb_get_line_number.

20 years ago * sparc-tdep.c (sparc_is_unimp_insn): New function.
Joel Brobecker [Tue, 23 Nov 2004 18:59:14 +0000 (18:59 +0000)]
    * sparc-tdep.c (sparc_is_unimp_insn): New function.
        (sparc32_frame_cache): For functions where there is no debugging
        information to help us determine whether it's a struct-return
        function or not, fallback on checking whether the instruction
        at the return address is an "unimp" instruction or not.

20 years ago* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
Nick Clifton [Tue, 23 Nov 2004 14:49:12 +0000 (14:49 +0000)]
* config/tc-mn10300.c (md_relax_table): More fixes to the offsets in this table.
  They should be correct now.
* gas/mn10300/relax.s: Add further tests of the relaxing of branch instructions.
* gas/mn10300/relax.d: Add expected relocations.

20 years agoFix last change.
Eli Zaretskii [Tue, 23 Nov 2004 12:12:15 +0000 (12:12 +0000)]
Fix last change.

20 years ago * gdb.texinfo (Files): Add cross-reference to description of
Eli Zaretskii [Tue, 23 Nov 2004 12:05:28 +0000 (12:05 +0000)]
* gdb.texinfo (Files): Add cross-reference to description of
-readnow command-line switch.

20 years agogas/
Jan Beulich [Tue, 23 Nov 2004 07:55:12 +0000 (07:55 +0000)]
gas/
2004-11-23 Jan Beulich <jbeulich@novell.com>

* config/tc-i386.h (CpuMMX2): Declare. Artificial classifier to
indicate the MMX extensions added by both SSE and 3DNow!A.
(Cpu3dnowA): Declare.
(CpuUnknownFlags): Update.
* config/tc-i386.c (cpu_sub_arch_name): Declare.
(cpu_arch): i586 and pentium do not imply MMX. i686 and pentiumpro do
neither imply SSE nor MMX. k6 implies MMX. k6_2 additionally implies
3DNow!. Athlon additionally implies 3DNow!A. Several new
entries (those starting with a dot are for sub-arch specification).
(set_cpu_arch): Handle sub-arch specifications.
(parse_insn): Distinguish between instructions not supported because
of insufficient CPU features and because of 64-bit mode.
* doc/c-i386.texi: Describe enhanced .arch directive.

include/opcode/
2004-11-23 Jan Beulich <jbeulich@novell.com>

* i386.h (i386_optab): paddq and psubq, even in their MMX form, are
available only with SSE2. Change the MMX additions introduced by SSE
and 3DNow!A to CpuMMX2 (rather than CpuMMX). Indicate the 3DNow!A
instructions by their now designated identifier (since combining i686
and 3DNow! does not really imply 3DNow!A).

20 years ago * MAINTAINERS: Add myself to write after approval section.
Dave Anglin [Tue, 23 Nov 2004 01:11:18 +0000 (01:11 +0000)]
* MAINTAINERS: Add myself to write after approval section.

20 years ago * hppa-hpux-nat.c (child_suppress_run): Add variable to allow
Dave Anglin [Tue, 23 Nov 2004 01:01:59 +0000 (01:01 +0000)]
* hppa-hpux-nat.c (child_suppress_run): Add variable to allow
hpux-thread.c to suppress children from running.
(hppa_hpux_child_can_run): New function.
(_initialize_hppa_hpux_nat): Use hppa_hpux_child_can_run.
* hpux-thread.c: Include string.h and hppa-tdep.h.
(FLAGS_REGNUM, SP_REGNUM, PC_REGNUM): Rename to HPPA_FLAGS_REGNUM,
HPPA_SP_REGNUM and HPPA_PCOQ_HEAD_REGNUM, respectively.
(hpux_thread_store_registers): Replace deprecated_registers with
calls to regcache_raw_read.
* config/pa/hpux11.mh, config/pa/hpux11w.mh: Delete HOST_IPC.

20 years ago*** empty log message ***
gdbadmin [Tue, 23 Nov 2004 00:00:05 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years ago * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.
Bob Wilson [Mon, 22 Nov 2004 19:13:04 +0000 (19:13 +0000)]
    * config/tc-xtensa.c (xg_add_opcode_fix): Set fx_no_overflow.

20 years ago* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
Nick Clifton [Mon, 22 Nov 2004 17:44:03 +0000 (17:44 +0000)]
* opcode/arc-opc.c (insert_base): Modify ls_operand[LS_OFFSET] to reflect the
  change to the short immediate syntax.
* gas/arc/ld.s: Add check of load of a long immediate.
* gas/arc/ld.d: Add expected disassembly.

20 years ago * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
Bob Wilson [Mon, 22 Nov 2004 16:29:33 +0000 (16:29 +0000)]
    * dwarf2dbg.c (dwarf2_finish): Don't write a .debug_line section
        without a corresponding .debug_info section.

20 years ago * read.c (potable): Add "error" and "warning".
Hans-Peter Nilsson [Mon, 22 Nov 2004 13:05:27 +0000 (13:05 +0000)]
* read.c (potable): Add "error" and "warning".
(s_errwarn): New function.
* read.h (s_errwarn): Declare.
* doc/as.texinfo (Error, Warning): Document .error and .warning.

20 years ago * gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.
Hans-Peter Nilsson [Mon, 22 Nov 2004 13:00:24 +0000 (13:00 +0000)]
* gas/all/gas.exp: Run dg-runtest for all err-*.s and warn-*.s.
* gas/all/err-1.s, gas/all/warn-1.s: New tests.

20 years ago(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.
Nick Clifton [Mon, 22 Nov 2004 10:02:27 +0000 (10:02 +0000)]
(tic54x_adjust_symtab): Adjust call to c_dot_file_symbol.

20 years ago*** empty log message ***
gdbadmin [Mon, 22 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

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

20 years ago* sparc64fbsd-nat.c: Update copyright year.
Mark Kettenis [Sun, 21 Nov 2004 20:22:56 +0000 (20:22 +0000)]
* sparc64fbsd-nat.c: Update copyright year.
(_initialize_sparc64fbsd_nat): Construct and add target vector.
* config/sparc/fbsd.mh (NATDEPFILES): Remove infptrace.o,
inftarg.o.

20 years ago * sparc-tdep.c (sparc_software_single_step): Handle stepping to NULL.
Daniel Jacobowitz [Sun, 21 Nov 2004 20:11:09 +0000 (20:11 +0000)]
* sparc-tdep.c (sparc_software_single_step): Handle stepping to NULL.

20 years ago * linux-nat.c (my_waitpid): New function.
Daniel Jacobowitz [Sun, 21 Nov 2004 20:10:02 +0000 (20:10 +0000)]
* linux-nat.c (my_waitpid): New function.
(linux_test_for_tracefork): Make more robust and verbose.  Take
an ORIGINAL_PID argument and test for PTRACE_SETOPTIONS first.
(linux_supports_tracefork, linux_supports_tracevforkdone): Take a PID
argument.  Update calls to linux_test_for_tracefork.
(linux_enable_event_reporting, child_follow_fork)
(child_insert_fork_catchpoint, child_insert_vfork_catchpoint)
(child_insert_exec_catchpoint): Update calls to
linux_supports_tracefork and linux_supports_tracevforkdone.

20 years ago * valarith.c (value_subscript): Copy VALUE_FRAME_ID.
Daniel Jacobowitz [Sun, 21 Nov 2004 19:52:13 +0000 (19:52 +0000)]
* valarith.c (value_subscript): Copy VALUE_FRAME_ID.
(value_subscripted_rvalue): Likewise.
* valops.c (search_struct_field, value_slice): Likewise.

20 years ago* inf-ptrace.c: Don't include "regcache.h" and "gdbcmd.h".
Mark Kettenis [Sun, 21 Nov 2004 13:51:53 +0000 (13:51 +0000)]
* inf-ptrace.c: Don't include "regcache.h" and "gdbcmd.h".
Reorder includes a bit.  Fix comment.
* Makefile.in (inf-ptrace.o): Update dependencies.

20 years ago * linux-m68k-low.c (m68k_num_gregs): Define.
Andreas Schwab [Sun, 21 Nov 2004 03:09:39 +0000 (03:09 +0000)]
* linux-m68k-low.c (m68k_num_gregs): Define.
(m68k_fill_gregset, m68k_store_gregset, m68k_fill_fpregset)
(m68k_store_fpregset, target_regsets) [HAVE_LINUX_REGSETS]: New.
(m68k_breakpoint, m68k_breakpoint_len, m68k_get_pc, m68k_set_pc)
(m68k_breakpoint_at): New.  Add to the_low_target.

* configure.srv (m68*-*-linux*): Set srv_linux_regsets and
srv_linux_thread_db to yes.

20 years ago * m68klinux-tdep.c: Include "glibc-tdep.h" and "solib-svr4.h".
Andreas Schwab [Sun, 21 Nov 2004 01:51:16 +0000 (01:51 +0000)]
* m68klinux-tdep.c: Include "glibc-tdep.h" and "solib-svr4.h".
(m68k_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to
svr4_ilp32_fetch_link_map_offsets and gdbarch_skip_solib_resolver
to glibc_skip_solib_resolver.
* config/m68k/linux.mt (TDEPFILES): Add glibc-tdep.o.  Remove
solib-legacy.o.
* Makefile.in (m68klinux-tdep.o): Update dependencies.

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

20 years ago * infttrace.h (ttrace_write_reg_64): Add prototype.
Dave Anglin [Sat, 20 Nov 2004 23:56:18 +0000 (23:56 +0000)]
* infttrace.h (ttrace_write_reg_64): Add prototype.
* hppah-nat.c (store_inferior_registers): Fix warning from ambiguous
expression.
(store_inferior_registers): Correct formatting.  Replace uses of
deprecated_registers with calls to regcache_raw_read,
regcache_raw_write_part and regcache_raw_read_part.

20 years ago* config/pa/hppahpux.mh: Remove file.
Mark Kettenis [Sat, 20 Nov 2004 23:04:53 +0000 (23:04 +0000)]
* config/pa/hppahpux.mh: Remove file.
* config/pa/hpux1020.mh: Remove file.

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

20 years ago * configure.host: Set host floatformat for m68k.
Andreas Schwab [Sat, 20 Nov 2004 18:16:34 +0000 (18:16 +0000)]
* configure.host: Set host floatformat for m68k.

20 years agoResolve file-name clash between
Eli Zaretskii [Sat, 20 Nov 2004 18:08:33 +0000 (18:08 +0000)]
Resolve file-name clash between
hppa-hpux-tdep.c and the new hppa-hpux-nat.c.

20 years ago* hppa-hpux-nat.c: New file.
Mark Kettenis [Sat, 20 Nov 2004 17:23:57 +0000 (17:23 +0000)]
* hppa-hpux-nat.c: New file.
* config/pa/hpux.mh (NATDEPFILES): New file.
* Makefile.in (ALLDEPFILES): Add hppa-hpux-nat.c.
(hppa-hpux-nat.o): New dependency.
* configure.host: Remove hppa*-*-hpux10.20.
(hppa*-*-hpux*, hppa*-*-hiux*): Set gdb_host to hpux.mh.

20 years ago* inf-ptrace.c: Fix coding style.
Mark Kettenis [Sat, 20 Nov 2004 17:03:38 +0000 (17:03 +0000)]
* inf-ptrace.c: Fix coding style.

20 years ago * hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
Dave Anglin [Sat, 20 Nov 2004 16:54:15 +0000 (16:54 +0000)]
* hpux-core.c (hpux_core_core_file_p): Use offsetof macro in calls to
make_bfd_asection.

20 years ago* gdb_ptrace.h [PTRACE_TYPE_ARG5] (ptrace): New macro.
Mark Kettenis [Sat, 20 Nov 2004 16:52:22 +0000 (16:52 +0000)]
* gdb_ptrace.h [PTRACE_TYPE_ARG5] (ptrace): New macro.
* infptrace.c (call_ptrace): Simply call ptrace with four
arguments.

20 years ago* dbxread.c (process_one_symbol): Fix a few coding standard
Mark Kettenis [Sat, 20 Nov 2004 12:38:38 +0000 (12:38 +0000)]
* dbxread.c (process_one_symbol): Fix a few coding standard
issues.  Improve code formatting.

20 years ago* dbxread.c: Include "gdb_string.h".
Mark Kettenis [Sat, 20 Nov 2004 10:20:33 +0000 (10:20 +0000)]
* dbxread.c: Include "gdb_string.h".
(record_minimal_symbol, read_ofile_symtab): Replace
DEPRECATED_STREQ and DEPRECATED_STREQN with strcmp and strncmp.
* Makefile.in (dbxread.o): Update dependencies.

20 years ago* dwarf2-frame.c (read_encoded_value): Correctly calculate number
Mark Kettenis [Sat, 20 Nov 2004 10:10:17 +0000 (10:10 +0000)]
* dwarf2-frame.c (read_encoded_value): Correctly calculate number
of bytes read for aligned LEB128 encodings.

20 years agomerge from gcc
DJ Delorie [Sat, 20 Nov 2004 03:00:47 +0000 (03:00 +0000)]
merge from gcc

20 years ago*** empty log message ***
gdbadmin [Sat, 20 Nov 2004 00:00:34 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Fri, 19 Nov 2004 23:00:08 +0000 (23:00 +0000)]
daily update

20 years ago* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
Mark Kettenis [Fri, 19 Nov 2004 21:55:24 +0000 (21:55 +0000)]
* bsd-kvm.c (bsd_kvm_pcb_cmd): Cast return value from
parse_and_eval_address to u_long before converting it to a pointer
type.
* i386fbsd-nat.c (_initialize_i386fbsd_nat): Change type of
ps_strings from int to u_long.
* i386obsd-nat.c (_initialize_i386obsd_nat): Cast _ps.val to
u_long instead of CORE_ADDR.

20 years ago * Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
Mark Mitchell [Fri, 19 Nov 2004 19:28:40 +0000 (19:28 +0000)]
* Makefile.am (ALL_EMULATIONS): Add earmelf_linux_eabi.o.
(earmelf_linux_eabi.c): New target.
* configure.tgt (arm*-*-linux-gnueabi): Handle it.
* emulparams/armelf_linux_eabi.sh: New file.
* Makefile.in: Regenerated.