Joel Brobecker [Mon, 6 Oct 2003 22:41:17 +0000 (22:41 +0000)]
* completer.h (get_gdb_completer_word_break_characters): Delete.
* completer.c: include language.h.
(gdb_completer_word_break_characters): Delete.
(get_gdb_completer_word_break_characters): Delete.
(location_completer): Use the word break characters of the current
language.
(complete_line): Likewise.
(line_completion_function): Likewise.
(skip_quoted_chars): Likewise.
* Makefile.in (completer.o): Add dependency on language.h.
* top.c (init_main): Set the readline word break characters
to GDB's default word break characters.
Joel Brobecker [Mon, 6 Oct 2003 22:38:03 +0000 (22:38 +0000)]
* language.h (language_defn): new field, la_word_break_characters.
* language.c (unknown_language_defn): Set new field to
default_word_break_characters.
(auto_language_defn): Likewise.
(local_language_defn): Likewise.
* ada-lang.c (ada_language_defn): Likewise.
* c-lang.c (c_language_defn): Likewise.
(cplus_language_defn): Likewise.
(asm_language_defn): Likewise.
(minimal_language_defn): Likewise.
* f-lang.c (f_language_defn): Likewise.
* jv-lang.c (java_language_defn): Likewise.
* m2-lang.c (m2_language_defn): Likewise.
* objc-lang.c (objc_language_defn): Likewise.
* p-lang.c (pascal_language_defn): Likewise.
* scm-lang.c (scm_language_defn): Likewise.
Andrew Cagney [Mon, 6 Oct 2003 22:23:47 +0000 (22:23 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* ppc-sysv-tdep.c: Re-indent.
Joel Brobecker [Mon, 6 Oct 2003 22:21:52 +0000 (22:21 +0000)]
* language.h (default_word_break_characters): Add prototype.
* language.c (default_word_break_characters): New function.
Andreas Schwab [Mon, 6 Oct 2003 21:58:20 +0000 (21:58 +0000)]
* i386-tdep.c (i386_analyze_frame_setup): Also handle xorl/subl
with %eax.
Andrew Cagney [Mon, 6 Oct 2003 21:56:40 +0000 (21:56 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* Makefile.in (ALLDEPFILES): Remove "z8k-tdep.c" and
"h8500-tdep.c".
(z8k-tdep.o): Delete custom build rule.
Andrew Cagney [Mon, 6 Oct 2003 20:43:39 +0000 (20:43 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* Makefile.in: Update all dependencies.
Andrew Cagney [Mon, 6 Oct 2003 20:38:17 +0000 (20:38 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* MAINTAINERS: Mention that h8500, mn10200, and z8k were deleted.
No longer list PA as as obsolete candidate. List m32r as
broken instead of obsolete.
Andrew Cagney [Mon, 6 Oct 2003 20:23:41 +0000 (20:23 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* config/nm-m3.h, config/h8500/h8500.mt: Delete obsolete files.
* config/h8500/tm-h8500.h, config/i386/nm-ptx4.h: Ditto.
* config/i386/nm-symmetry.h, config/i386/ptx.mh: Ditto.
* config/i386/ptx.mt, config/i386/ptx4.mh: Ditto.
* config/i386/ptx4.mt, config/i386/symmetry.mh: Ditto.
* config/i386/symmetry.mt, config/i386/tm-ptx.h: Ditto.
* config/i386/tm-ptx4.h, config/i386/tm-symmetry.h: Ditto.
* config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto.
* config/i386/xm-symmetry.h, config/mips/mipsm3.mh: Ditto.
* config/mips/mipsm3.mt, config/mips/tm-mipsm3.h: Ditto.
* config/mips/xm-mipsm3.h, config/mn10200/mn10200.mt: Ditto.
* config/mn10200/tm-mn10200.h, config/pa/hppabsd.mh: Ditto.
* config/pa/hppabsd.mt, config/pa/hppaosf.mh: Ditto.
* config/pa/hppaosf.mt, config/pa/hppapro.mt: Ditto.
* config/pa/nm-hppab.h, config/pa/nm-hppao.h: Ditto.
* config/pa/tm-hppab.h, config/pa/tm-hppao.h: Ditto.
* config/pa/tm-pro.h, config/pa/xm-hppab.h: Ditto.
* config/pa/xm-pa.h, config/sparc/sparclet.mt: Ditto.
* config/sparc/sparclite.mt, config/sparc/tm-sparclet.h: Ditto.
* config/sparc/tm-sparclite.h, config/z8k/tm-z8k.h: Ditto.
* config/z8k/z8k.mt: Ditto.
Andrew Cagney [Mon, 6 Oct 2003 19:47:21 +0000 (19:47 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention that z8k-zilog-none, z8ksim, mn10200-*-*,
h8500hms, hppa*-*-bsd*, hppa*-*-osf*, hppa*-*-pro*,
mips*-*-mach3*, i[3456]86-sequent-sysv4*, i[3456]86-sequent-sysv*,
i[3456]86-sequent-bsd*, sparclet-*-*, sparclite-fujitsu-none, and
sparclite were removed.
* configure.host, configure.tgt: Remove corresponding tuples.
Andrew Cagney [Mon, 6 Oct 2003 19:31:43 +0000 (19:31 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* gdb.base/watchpoint.exp: Delete obsolete clear_xfail.
* gdb.disasm/mn10200.exp: Delete obsolete file.
Andrew Cagney [Mon, 6 Oct 2003 19:27:13 +0000 (19:27 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* breakpoint.c, breakpoint.h: Remove obsolete code and comments.
* buildsym.c, dbxread.c, gdbtypes.c, mdebugread.c: Ditto.
* monitor.c, sparc-tdep.c, stabsread.c: Ditto.
* stabsread.h, xcoffread.c: Ditto.
Andrew Cagney [Mon, 6 Oct 2003 19:10:44 +0000 (19:10 +0000)]
2003-10-06 Andrew Cagney <cagney@redhat.com>
* z8k-tdep.c, symm-tdep.c, symm-nat.c: Delete obsolete file.
* sparclet-stub.c, sparclet-rom.c: Delete obsolete file.
* sparcl-tdep.c, sparcl-stub.c, h8500-tdep.c: Delete obsolete file.
* m3-nat.c, mipsm3-nat.c, mn10200-tdep.c: Delete obsolete file.
H.J. Lu [Mon, 6 Oct 2003 18:10:48 +0000 (18:10 +0000)]
2003-10-06 H.J. Lu <hongjiu.lu@intel.com>
* elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Pad the
last CIE/FDE if needed.
David Lecomber [Mon, 6 Oct 2003 15:51:08 +0000 (15:51 +0000)]
2003-10-06 David Lecomber <dsl@sources.redhat.com>
* f-valprint.c: Reformatting
David Lecomber [Mon, 6 Oct 2003 15:49:43 +0000 (15:49 +0000)]
2003-10-06 David Lecomber <dsl@sources.redhat.com>
* f-valprint.c: Reformatting
Nick Clifton [Mon, 6 Oct 2003 11:07:08 +0000 (11:07 +0000)]
lexsup.c (parse_args): Report unresolved symbols in shared libraries when
creating a dynamic executable. This is a restoration of the default behaviour
for previous versions of the linker.
Nick Clifton [Mon, 6 Oct 2003 11:01:36 +0000 (11:01 +0000)]
Change target of hppa-netbsd port
Nick Clifton [Mon, 6 Oct 2003 10:18:41 +0000 (10:18 +0000)]
Fix macro tests to ignore section symbols
Nick Clifton [Mon, 6 Oct 2003 09:12:39 +0000 (09:12 +0000)]
Add i386-knetbsd-gnu triplet.
gdbadmin [Mon, 6 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Mon, 6 Oct 2003 00:00:15 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Sun, 5 Oct 2003 22:54:10 +0000 (22:54 +0000)]
* x86-64-tdep.c: Remove duplicate comment.
Mark Kettenis [Sun, 5 Oct 2003 22:13:24 +0000 (22:13 +0000)]
* x86-64-tdep.c (x86_64_store_return_value): Don't use
DEPRECATED_REGISTER_RAW_SIZE. Use symbolic names for register
names for return values. This fixes a bug since we looked at %rbx
instead of %rdx.
Mark Kettenis [Sun, 5 Oct 2003 22:02:49 +0000 (22:02 +0000)]
* x86-64-tdep.c: Include "regset.h".
Mark Kettenis [Sun, 5 Oct 2003 21:31:33 +0000 (21:31 +0000)]
* i386-tdep.h (struct gdbarch_tdep): Add members gregset,
gregset_reg_offset, gregset_num_regs, sizeof_gregset, fpregset,
sizeof_fpregset.
* i386-tdep.c: Include "regset.h".
(i386_supply_gregset): New function.
(i386_supply_fpregset): New function.
(i386_gdbarch_init): Initialze register set-related members of
TDEP.
* x86-64-tdep.c (x86_64_supply_fpregset): New function.
(x86_64_init_abi): Initialize TDEP->sizeof_fpregset.
Nick Clifton [Sun, 5 Oct 2003 08:58:01 +0000 (08:58 +0000)]
Revert -f change
Alan Modra [Sun, 5 Oct 2003 00:00:15 +0000 (00:00 +0000)]
daily update
gdbadmin [Sun, 5 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Christian Groessler [Sat, 4 Oct 2003 21:11:47 +0000 (21:11 +0000)]
2003-10-04 Christian Groessler <chris@groessler.org>
* gas/z8k/calr-backf.s: New file.
* gas/z8k/calr-forwf.s: New file.
* gas/z8k/calr.d: New file.
* gas/z8k/calr.s: New file.
* gas/z8k/djnz-backf.s: New file.
* gas/z8k/djnz-backf2.s: New file.
* gas/z8k/djnz.d: New file.
* gas/z8k/djnz.s: New file.
* gas/z8k/jr-back.d: New file.
* gas/z8k/jr-forw.d: New file.
* gas/z8k/jr-back.s: Fix displacement length. Add some more jumps
for jr-back.d.
* gas/z8k/jr-backf.s: Fix displacement length.
* gas/z8k/jr-forw.s: Fix displacement length. Add some more jumps
for jr-forw.d.
* gas/z8k/jr-forwf.s: Fix displacement length.
* gas/z8k/z8k.exp: Run new tests.
Christian Groessler [Sat, 4 Oct 2003 21:11:05 +0000 (21:11 +0000)]
2003-10-04 Christian Groessler <chris@groessler.org>
* tc-z8k.c (newfix): Tell fix_new_exp about pc relativeness.
(md_apply_fix3): Fix R_JR, R_DISP7, and R_CALLR cases.
(md_pcrel_from): This function now gets called. Supply return
value.
Christian Groessler [Sat, 4 Oct 2003 21:09:29 +0000 (21:09 +0000)]
2003-10-04 Christian Groessler <chris@groessler.org>
* coff-z8k.c (extra_case): Fix displacement length check for R_JR
and R_CALLR.
Stephane Carrez [Sat, 4 Oct 2003 21:02:53 +0000 (21:02 +0000)]
* elf32-m68hc1x.c: Update to ISO C90; replace PTR with void*.
* elf32-m68hc11.c: Likewise.
* elf32-m68hc12.c: Likewise.
* elf32-m68hc1x.h: Likewise.
Stephane Carrez [Sat, 4 Oct 2003 20:07:24 +0000 (20:07 +0000)]
* elf32-m68hc1x.c (_bfd_m68hc11_elf_merge_private_bfd_data): Fix merge
of flags between HC12 and HCS12.
Nick Clifton [Sat, 4 Oct 2003 12:40:12 +0000 (12:40 +0000)]
Convert to ISO C90
Nick Clifton [Sat, 4 Oct 2003 12:07:27 +0000 (12:07 +0000)]
(std_shortopts): Remove 'f'.
(std_longopts): Add 'f'.
Doing this prevents -f<foo> being acecpted as an alias for -f
Nick Clifton [Sat, 4 Oct 2003 11:06:31 +0000 (11:06 +0000)]
(obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data.
Nick Clifton [Sat, 4 Oct 2003 10:19:26 +0000 (10:19 +0000)]
Set SEC_EXCLUDE flag on sections which become empty after merging.
H.J. Lu [Sat, 4 Oct 2003 04:54:47 +0000 (04:54 +0000)]
2003-10-03 H.J. Lu <hongjiu.lu@intel.com>
* ltconfig (sys_lib_search_path_spec): Fix a typo for HPUX.
Alan Modra [Sat, 4 Oct 2003 00:00:14 +0000 (00:00 +0000)]
daily update
gdbadmin [Sat, 4 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Fri, 3 Oct 2003 21:11:39 +0000 (21:11 +0000)]
2003-10-03 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): When the 64 bit SysV ABI,
set extract_return_value, store_return_value and
use_struct_convention to ppc64_sysv_abi_extract_return_value,
ppc64_sysv_abi_store_return_value and
ppc64_sysv_abi_use_struct_convention.
* ppc-tdep.h (ppc64_sysv_abi_extract_return_value): Declare.
(ppc64_sysv_abi_store_return_value): Declare.
(ppc64_sysv_abi_use_struct_convention): Declare.
* ppc-sysv-tdep.c (enum return_value_convention): Define.
(ppc64_sysv_abi_extract_return_value): New function.
(ppc64_sysv_abi_store_return_value): New function.
(ppc64_sysv_abi_use_struct_convention): New function.
(ppc64_sysv_abi_return_value): New function.
Andrew Cagney [Fri, 3 Oct 2003 20:56:43 +0000 (20:56 +0000)]
2003-10-03 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Deprecate
IBM6000_TARGET. Mention that it implies an RS/6000 system and not
just target.
Andrew Cagney [Fri, 3 Oct 2003 20:50:56 +0000 (20:50 +0000)]
2003-10-03 Andrew Cagney <cagney@redhat.com>
* ppc-linux-tdep.c (ppc64_linux_convert_from_func_ptr_addr): Only
convert a descriptor to a function when it's in the ".opd"
section.
Corinna Vinschen [Fri, 3 Oct 2003 08:13:37 +0000 (08:13 +0000)]
* sh-tdep.c (sh_push_dummy_call_fpu): Initialize flt_argreg and
reg_size to keep GCC silent.
Corinna Vinschen [Fri, 3 Oct 2003 08:08:27 +0000 (08:08 +0000)]
* dwarf2-frame.c (struct comp_unit): Add tbase member to store
base for DW_EH_PE_textrel encodings.
(read_encoded_value): Add a DW_EH_PE_textrel case.
(dwarf2_build_frame_info): Set unit.tbase to beginning of text
section.
gdbadmin [Fri, 3 Oct 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Fri, 3 Oct 2003 00:00:13 +0000 (00:00 +0000)]
daily update
Mark Kettenis [Thu, 2 Oct 2003 22:16:21 +0000 (22:16 +0000)]
* dwarf2-frame.c (dwarf2_build_frame_info): Fix comment.
Andrew Cagney [Thu, 2 Oct 2003 20:28:31 +0000 (20:28 +0000)]
2003-10-02 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_RAW_SIZE): Rename
REGISTER_RAW_SIZE.
* gdbarch.h, gdbarch.c: Re-generate.
* aix-thread.c, alpha-tdep.h, arm-tdep.c, core-sol2.c: Update.
* cris-tdep.c, dve3900-rom.c, findvar.c, frame.c: Update.
* hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
* hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
* ia64-linux-nat.c, ia64-tdep.c, infcmd.c, infptrace.c: Update.
* infrun.c, irix5-nat.c, lynx-nat.c, mips-linux-tdep.c: Update.
* mips-nat.c, mips-tdep.c, mipsv4-nat.c, mn10300-tdep.c: Update.
* monitor.c, ns32k-tdep.c, ppc-linux-nat.c, regcache.c: Update.
* remote-e7000.c, remote-mips.c, remote-sim.c: Update.
* remote-vxmips.c, remote-vxsparc.c, remote.c: Update.
* rom68k-rom.c, rs6000-nat.c, rs6000-tdep.c, s390-tdep.c: Update.
* sh64-tdep.c, sparc-nat.c, sparc-tdep.c, stack.c: Update.
* target.c, tracepoint.c, v850-tdep.c, v850ice.c, valops.c: Update.
* vax-tdep.c, vax-tdep.h, x86-64-tdep.c, xstormy16-tdep.c: Update.
* config/m68k/tm-delta68.h, config/m68k/tm-vx68.h: Update.
* config/sparc/tm-sparc.h, config/sparc/tm-sparclynx.h: Update.
2003-10-02 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
REGISTER_RAW_SIZE to DEPRECATED_REGISTER_RAW_SIZE.
* gdb.texinfo (Packets, Stop Reply Packets): Ditto.
* gdbint.texinfo (Target Architecture Definition): Rename
2003-10-02 Andrew Cagney <cagney@redhat.com>
* mi-main.c: Rename REGISTER_RAW_SIZE to
DEPRECATED_REGISTER_RAW_SIZE.
Daniel Jacobowitz [Thu, 2 Oct 2003 19:07:17 +0000 (19:07 +0000)]
* strerror.c: Revert last change. Declare static sys_nerr
and sys_errlist using different names.
Jim Blandy [Thu, 2 Oct 2003 17:13:16 +0000 (17:13 +0000)]
* dwarf2read.c (struct die_info): Doc fix.
Christopher Faylor [Thu, 2 Oct 2003 14:13:10 +0000 (14:13 +0000)]
* resrc.c (define_icon): Fix storage of color attributes 'planes' and 'bit
count' in icon groups.
Nick Clifton [Thu, 2 Oct 2003 11:18:13 +0000 (11:18 +0000)]
Correct sym def order & pick right sym for .idata$7 reloc.
Corinna Vinschen [Thu, 2 Oct 2003 10:47:05 +0000 (10:47 +0000)]
* sh-tdep.c: Running thru gdb_indent.sh.
Corinna Vinschen [Thu, 2 Oct 2003 10:45:02 +0000 (10:45 +0000)]
* sh-tdep.c (sh_justify_value_in_reg): New function.
(sh_stack_allocsize): Ditto.
(flt_argreg_array): New array used for floating point argument
passing.
(sh_init_flt_argreg): New function.
(sh_next_flt_argreg): Ditto.
(sh_push_dummy_call_fpu): Simplify. Rename "odd_sized_struct" to
"pass_on_stack". Use new helper functions. Accomodate Renesas ABI.
Fix argument passing strategy.
(sh_push_dummy_call_nofpu): Ditto.
H.J. Lu [Thu, 2 Oct 2003 06:25:28 +0000 (06:25 +0000)]
2003-10-01 Phil Edwards <pme@gcc.gnu.org>
* config-ml.in: Use ac_configure_args directly instead of
ml_arguments. Only set ml_norecursion if --no[-]recursion is
actually seen.
2003-10-01 Eric Botcazou <ebotcazou@libertysurf.fr>
* config-ml.in: Propagate INSTALL variables.
Andrew Cagney [Thu, 2 Oct 2003 04:40:58 +0000 (04:40 +0000)]
2003-10-01 Andrew Cagney <cagney@redhat.com>
* value.h (register_value_being_returned): Declare. Replace
"value_being_returned".
* infcall.c (call_function_by_hand): Use
register_value_being_returned.
* infcmd.c (print_return_value): Call
"register_value_being_returned", handle struct return locally.
* values.c (register_value_being_returned): New function. Replace
"value_being_returned".
Alan Modra [Thu, 2 Oct 2003 00:00:12 +0000 (00:00 +0000)]
daily update
gdbadmin [Thu, 2 Oct 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***
Daniel Jacobowitz [Wed, 1 Oct 2003 23:11:45 +0000 (23:11 +0000)]
* strerror.c: Don't provide or reference sys_errlist if
strerror is available.
Elena Zannoni [Wed, 1 Oct 2003 20:36:56 +0000 (20:36 +0000)]
2003-09-24 Elena Zannoni <ezannoni@redhat.com>
* linux-proc.c (linux_do_registers): New function.
(linux_make_note_section): Use linux_do_registers in case of
single threaded inferior programs.
Thiemo Seufer [Wed, 1 Oct 2003 18:57:16 +0000 (18:57 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
Unbreak overflow checks.
Andrew Cagney [Wed, 1 Oct 2003 18:48:12 +0000 (18:48 +0000)]
2003-10-01 Andrew Cagney <cagney@redhat.com>
* infcall.c (call_function_by_hand): When STRUCT_RETURN, always
use STRUCT_ADDR. When not using "struct return convention", pass
"0" to "value_being_returned". Add FIXMEs.
* infcmd.c (print_return_value): Pass an explicit 0/1 to
value_being_returned. Add comments.
* values.c (value_being_returned): Add fixme.
* hppa-tdep.c (hppa_extract_struct_value_address): Add FIXME.
(hppa_value_returned_from_stack): Add FIXME.
H.J. Lu [Wed, 1 Oct 2003 17:12:11 +0000 (17:12 +0000)]
2003-10-01 H.J. Lu <hongjiu.lu@intel.com>
* configure.in: Check if $MAKEINFO is missing.
* configure: Regenerated.
Chris Demetriou [Wed, 1 Oct 2003 06:09:31 +0000 (06:09 +0000)]
2003-10-01 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (s_cpreturn): Correct errors in comment.
Thiemo Seufer [Wed, 1 Oct 2003 02:07:48 +0000 (02:07 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset): Fix sign extension
tests.
(load_register): Likewise.
(macro): Likewise.
* gas/mips/ldstla-32-shared.d: New file.
* gas/mips/ldstla-32.d: New file.
* gas/mips/ldstla-32.s: New file.
* gas/mips/ldstla-n32-shared.d: New file.
* gas/mips/ldstla-n32.d: New file.
* gas/mips/ldstla-n32.s: New file.
* gas/mips/ldstla-n64-shared.d: New file.
* gas/mips/ldstla-n64.d: New file.
* gas/mips/ldstla-n64.s: New file.
* gas/mips/mips.exp: Add ld-st-la tests.
Bob Wilson [Wed, 1 Oct 2003 00:40:22 +0000 (00:40 +0000)]
* xtensa-dis.c (fetch_data): Remove numBytes parameter.
(print_insn_xtensa): Fix call to fetch_data.
Alan Modra [Wed, 1 Oct 2003 00:00:12 +0000 (00:00 +0000)]
daily update
gdbadmin [Wed, 1 Oct 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
David Carlton [Tue, 30 Sep 2003 22:29:28 +0000 (22:29 +0000)]
2003-09-30 David Carlton <carlton@kealia.com>
* dwarf2read.c (struct die_info): Add 'parent' field; replace
'has_children' and 'next' by 'child' and 'sibling'.
(read_comp_unit): Rework algorithm, breaking body into
read_die_and_children and read_die_and_siblings.
(read_die_and_children, read_die_and_siblings): New.
(read_full_die): Add 'has_children' argument; set it instead of
the die's 'has_children' field. Minor formatting cleanup.
(free_die_list): Use die->child and die->sibling instead of
die->next.
(dump_die_list): Ditto.
(sibling_die): Use die->sibling.
(psymtab_to_symtab_1): Use die's 'child' field in place of its
'has_children' and 'next' fields.
(process_die, read_file_scope, read_func_scope)
(read_lexical_block_scope, read_structure_scope)
(read_enumeration, read_array_type, read_common_block)
(read_namespace, read_subroutine_type, dump_die): Ditto.
Jakub Jelinek [Tue, 30 Sep 2003 21:18:46 +0000 (21:18 +0000)]
* elfxx-ia64.c (ia64_howto_table): Fix size of R_IA64_TPREL64[LM]SB,
R_IA64_DTPREL{32,64}[LM]SB and R_IA64_DTPMOD64[LM]SB.
Andrew Cagney [Tue, 30 Sep 2003 21:16:39 +0000 (21:16 +0000)]
2003-09-29 Andrew Cagney <cagney@redhat.com>
* rs6000-tdep.c (rs6000_gdbarch_init): Set the PowerOpen red zone
to 224, not 220.
Chris Demetriou [Tue, 30 Sep 2003 21:02:08 +0000 (21:02 +0000)]
[ gas/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* config/tc-mips.c (mips_ip): Capitalize first word of
existing condition code warning, and add condition code
warnings for .ps instructions, and for bc1any[24][tf].
[ gas/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* lib/gas-defs.exp (run_dump_test): If stderr file is specified
and there was no stderr output, compare anyway (i.e., cause a
test failure).
* gas/mips/mips64-mips3d.s: Add some new instructions to test warnings.
* gas/mips/mips64-mips3d.l: New file.
* gas/mips/mips64-mips3d.d: Use mips64-mips3d.l, and update for
changes to mips64-mips3d.s.
* gas/mips/mips64-mips3d-incl.d: Likewise.
* gas/mips/set-arch.l: New file.
* gas/mips/set-arch.d: Specify set-arch.l as stderr output to check.
* gas/mips/mips5.l: Make error messages match source.
H.J. Lu [Tue, 30 Sep 2003 19:50:40 +0000 (19:50 +0000)]
2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-checks/checks.exp (section_check): Remove ia64-*-elf*.
H.J. Lu [Tue, 30 Sep 2003 19:12:53 +0000 (19:12 +0000)]
2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-checks/checks.exp (section_check): Skip ia64-*-* instead
of ia64-*-linux*.
Andrew Cagney [Tue, 30 Sep 2003 19:12:20 +0000 (19:12 +0000)]
2003-09-30 Andrew Cagney <cagney@redhat.com>
* mi-main.c: Rename REGISTER_VIRTUAL_SIZE to
DEPRECATED_REGISTER_VIRTUAL_SIZE.
2003-09-30 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_SIZE): Rename
REGISTER_VIRTUAL_SIZE.
* gdbarch.h, gdbarch.c: Regenerate.
* vax-tdep.h, sparc-tdep.c, regcache.h: Update.
* regcache.c, mn10300-tdep.c, mips-tdep.c: Update.
* infcmd.c, frame.c, findvar.c, cris-tdep.c: Update.
2003-09-30 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
REGISTER_VIRTUAL_SIZE to DEPRECATED_REGISTER_VIRTUAL_SIZE.
(Target Architecture Definition):
H.J. Lu [Tue, 30 Sep 2003 18:03:54 +0000 (18:03 +0000)]
2003-09-30 H.J. Lu <hongjiu.lu@intel.com>
* ld-ia64/ia64.exp: Remove -melf64_ia64.
* ld-ia64/tlsbin.dd: Remove -melf64_ia64. Match elf..-ia64-.*
instead of elf64-ia64-little.
* ld-ia64/tlsbin.rd: Likewise.
* ld-ia64/tlsbin.sd: Likewise.
* ld-ia64/tlsbin.td: Likewise.
* ld-ia64/tlsg.sd: Likewise.
* ld-ia64/tlspic.dd: Likewise.
* ld-ia64/tlspic.rd: Likewise.
* ld-ia64/tlspic.sd: Likewise.
* ld-ia64/tlspic.td: Likewise.
Chris Demetriou [Tue, 30 Sep 2003 16:47:02 +0000 (16:47 +0000)]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Mention support for MIPS64 Release 2.
Chris Demetriou [Tue, 30 Sep 2003 16:44:04 +0000 (16:44 +0000)]
[ binutils/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
[ gas/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
[ ld/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* NEWS: Add an indication of the cutoff for 2.14.
Chris Demetriou [Tue, 30 Sep 2003 16:17:15 +0000 (16:17 +0000)]
[ bfd/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* archures.c (bfd_mach_mipsisa64r2): New define.
* bfd-in2.h: Regenerate.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mipsisa64r2.
* cpu-mips.c (I_mipsisa64r2): New enum value.
(arch_info_struct): Add entry for I_mipsisa64r2.
* elfxx-mips.c (_bfd_elf_mips_mach)
(_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_64R2.
(mips_set_isa_flags): Add bfd_mach_mipsisa64r2 case.
(mips_mach_extensions): Add entry for bfd_mach_mipsisa64r2.
[ binutils/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* readelf.c (get_machine_flags): Handle E_MIPS_ARCH_64R2.
[ gas/Changelog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* configure.in (mipsisa64r2, mipsisa64r2el, mipsisa64r2*): New CPUs.
* configure: Regenerate.
* config/tc-mips.c (imm2_expr): New variable.
(md_assemble, mips16_ip): Initialize imm2_expr.
(ISA_HAS_64BIT_REGS, ISA_HAS_DROR, ISA_HAS_ROR): Add ISA_MIPS64R2.
(macro_build): Handle +A, +B, +C, +E, +F, +G, and +H format operands.
(macro): Handle M_DEXT and M_DINS.
(validate_mips_insn): Handle +E, +F, +G, +H, and +I format operands.
(mips_ip): Likewise.
(OPTION_MIPS64R2): New define.
(md_longopts): New entry for -mips64r2 (OPTION_MIPS64R2).
OPTION_ASE_BASE): Increase to compensate for OPTION_MIPS64R2.
(md_parse_option): Handle OPTION_MIPS64R2.
(s_mipsset): Handle setting "mips64r2" ISA.
(mips_cpu_info_table): Add mips64r2.
(md_show_usage): Document -mips64r2 option.
* doc/as.texinfo: Docuemnt -mips64r2 option.
* doc/c-mips.texi: Likewise.
[ gas/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* gas/mips/cp0-names-mips64r2.d: New file.
* gas/mips/cp0sel-names-mips64r2.d: New file.
* gas/mips/elf_arch_mips64r2.d: New file.
* gas/mips/hwr-names-mips64r2.d: New file.
* gas/mips/mips32r2-ill-fp64.l: New file.
* gas/mips/mips32r2-ill-fp64.s: New file.
* gas/mips/mips64r2-ill.l: New file.
* gas/mips/mips64r2-ill.s: New file.
* gas/mips/mips64r2.d: New file.
* gas/mips/mips64r2.s: New file.
* gas/mips/mips.exp: Define "mips64r2" arch, and run new tests.
[ include/elf/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h (E_MIPS_ARCH_64R2): New define.
[ include/opcode/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips.h: Document +E, +F, +G, +H, and +I operand types.
Update documentation of I, +B and +C operand types.
(INSN_ISA64R2, ISA_MIPS64R2, CPU_MIPS64R2): New defines.
(M_DEXT, M_DINS): New enum values.
[ ld/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ldmain.c (get_emulation): Ignore "-mips64r2".
[ ld/testsuite/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* ld-mips-elf/mips-elf-flags.exp: Add tests for combinations
with MIPS64r2.
[ opcodes/ChangeLog ]
2003-09-30 Chris Demetriou <cgd@broadcom.com>
* mips-dis.c (mips_arch_choices): Add entry for "mips64r2"
(print_insn_args): Add handing for +E, +F, +G, and +H.
* mips-opc.c (I65): New define for MIPS64r2.
(mips_builtin_opcodes): Add "dext", "dextm", "dextu", "dins",
"dinsm", "dinsu", "drotl", "drotr", "drotr32", "drotrv", "dsbh",
and "dshd" for MIPS64r2. Adjust "dror", "dror32", and "drorv" to
be supported on MIPS64r2.
Andrew Cagney [Tue, 30 Sep 2003 13:29:44 +0000 (13:29 +0000)]
2003-09-29 Andrew Cagney <cagney@redhat.com>
* gdbarch.sh (DEPRECATED_REGISTER_VIRTUAL_TYPE): Rename
DEPRECATED_REGISTER_VIRTUAL_TYPE.
* gdbarch.h, gdbarch.c: Regenerate.
* arch-utils.c, hppa-tdep.c, regcache.c, regcache.h: Update.
* sh64-tdep.c, sparc-tdep.c: Update.
2003-09-30 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
REGISTER_VIRTUAL_TYPE to DEPRECATED_REGISTER_VIRTUAL_TYPE.
Andrew Cagney [Tue, 30 Sep 2003 13:23:49 +0000 (13:23 +0000)]
2003-09-30 Andrew Cagney <cagney@redhat.com>
* remote-vxsparc.c (vx_read_register): Replace bzero with memset.
* remote-vxmips.c (vx_read_register): Ditto.
* remote-vx68.c (vx_read_register): Ditto.
* gnu-nat.c (inf_validate_procs): Ditto.
H.J. Lu [Tue, 30 Sep 2003 00:39:57 +0000 (00:39 +0000)]
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* lib/ld-lib.exp (proc is_elf64): New.
* ld-scripts/phdrs.exp: Use is_elf_format and is_elf64.
H.J. Lu [Tue, 30 Sep 2003 00:15:54 +0000 (00:15 +0000)]
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Support SHN_IA_64_ANSI_COMMON.
(get_symbol_index_type): Likewise.
testsuites/
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* binutils-all/readelf.exp: Use is_elf_format.
* binutils-all/readelf.h: Support IA64/ILP32.
* binutils-all/readelf.s: Likewise.
* binutils-all/readelf.ss: Likewise.
* lib/utils-lib.exp (proc is_elf_format): Copy from ld
testsuite. Add ia64-*-hpux*.
gdbadmin [Tue, 30 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***
Alan Modra [Tue, 30 Sep 2003 00:00:11 +0000 (00:00 +0000)]
daily update
H.J. Lu [Mon, 29 Sep 2003 23:25:08 +0000 (23:25 +0000)]
2003-09-29 H.J. Lu <hongjiu.lu@intel.com>
* elfxx-ia64.c (elfNN_hpux_backend_symbol_processing): New.
Handle SHN_IA_64_ANSI_COMMON.
(elf_backend_section_from_bfd_section): Defined.
Joel Brobecker [Mon, 29 Sep 2003 21:12:05 +0000 (21:12 +0000)]
* infcall.c (call_function_by_hand): Fix build failure
introduced in the previous change to this file.
Andrew Cagney [Mon, 29 Sep 2003 20:24:04 +0000 (20:24 +0000)]
2003-09-29 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Delete
documentation for NEED_TEXT_START_END.
Andrew Cagney [Mon, 29 Sep 2003 20:18:51 +0000 (20:18 +0000)]
2003-09-29 Andrew Cagney <cagney@redhat.com>
* gdbint.texinfo (Target Architecture Definition): Rename
NPC_REGNUM to DEPRECATED_NPC_REGNUM. Add cross reference to
TARGET_WRITE_PC.
Andrew Cagney [Mon, 29 Sep 2003 20:17:00 +0000 (20:17 +0000)]
2003-09-29 Andrew Cagney <cagney@redhat.com>
* NEWS: Mention Objective-C.
Dave Brolley [Mon, 29 Sep 2003 20:16:53 +0000 (20:16 +0000)]
2003-09-29 Dave Brolley <brolley@redhat.com>
* gas/frv/allinsn.s (nldqi): Removed. Replaced with nop.
* gas/frv/allinsn.d (nldqi): Ditto.
Daniel Jacobowitz [Mon, 29 Sep 2003 15:08:52 +0000 (15:08 +0000)]
* ChangeLog: Correct an entry command.exp -> commands.exp.
* gdb.base/commands.exp (bp_deleted_in_command_test)
(temporary_breakpoint_commands): Check noargs.
Jerome Guitton [Mon, 29 Sep 2003 13:27:39 +0000 (13:27 +0000)]
2003-09-29 Jerome Guitton <guitton@act-europe.fr>
* arm-tdep.c (arm_make_prologue_cache): Use trad_frame_addr_p to
test if the register has been saved on the stack.
(arm_scan_prologue_cache): When analysing the instruction
"str lr, [sp, #-4]", save the address where lr has been stored.
Alan Modra [Mon, 29 Sep 2003 00:00:10 +0000 (00:00 +0000)]
daily update
gdbadmin [Mon, 29 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***
Andrew Cagney [Sun, 28 Sep 2003 22:32:20 +0000 (22:32 +0000)]
2003-09-28 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_read_unsigned_register): Delete function.
* frame.h (frame_read_unsigned_register): Delete declaration.
* sparc-tdep.c (sparc_init_extra_frame_info): Use
get_frame_register_unsigned.
(sparc_frame_saved_pc, sparc_pop_frame): Ditto.
* m68hc11-tdep.c (m68hc11_print_register): Ditto.
* d10v-tdep.c (d10v_print_registers_info): Ditto.
* frame.h (frame_read_register): Delete declaration.
* frame.c (frame_read_register): Delete function.
* arch-utils.c (legacy_register_to_value): Use get_frame_register.
* sparc-tdep.c (sparc_fetch_pointer_argument): Ditto.
* rs6000-tdep.c (rs6000_fetch_pointer_argument): Ditto.
* mips-tdep.c (mips_register_to_value): Ditto.
* hppa-tdep.c (hppa_fetch_pointer_argument): Ditto.
* d10v-tdep.c (d10v_print_registers_info): Ditto.
* frame.c (frame_read_signed_register): Delete function.
(frame_read_unsigned_register): Update comments.
* frame.h (frame_read_signed_register): Delete declaration.
* h8300-tdep.c (h8300_print_register): Use
get_frame_register_signed.
* m68hc11-tdep.c (m68hc11_print_register): Ditto.
Andrew Cagney [Sun, 28 Sep 2003 16:12:50 +0000 (16:12 +0000)]
2003-09-28 Andrew Cagney <cagney@redhat.com>
* config/pa/tm-hppa.h (DEPRECATED_VALUE_RETURNED_FROM_STACK):
Rename VALUE_RETURNED_FROM_STACK.
* infcmd.c (print_return_value): Update.
* infcall.c (call_function_by_hand): Update.
Mark Kettenis [Sun, 28 Sep 2003 13:35:44 +0000 (13:35 +0000)]
* i387-tdep.c (i387_supply_fsave, i387_supply_fxsave): Add
regcache argument and reverse the order of the other two
arguments. Remove local regcache variable. Determine
architecture from REGCACHE. Update comments.
* x86-64-tdep.c (x86_64_supply_fxsave): Add regcache argument and
reverse the order of the other two arguments. Remove local
regcache variable. Determine architecture from REGCACHE. Update
comments.
* i387-tdep.h (i387_supply_fsave, i387_supply_fxsave): Adjust
prototypes. Update comments.
* x86-64-tdep.c (x86_64_supply_fxsave): Adjust prototype. Adjust
comment.
* amd64fbsd-nat.c (supply_fpregset, fetch_inferior_registers):
Update.
* go32-nat.c (fetch_register, go32_fetch_registers): Update.
* i386-interix-nat.c (supply_fpregset): Update.
* i386-linux-nat.c (supply_fpregset, supply_fpxregset): Update.
* i386-nto-tdep.c (i386nto_supply_fpregset): Update.
* i386gnu-nat.c (fetch_fpregs, supply_fpregset): Update.
* i386bsd-nat.c (supply_fpregset, fetch_inferior_registers): Update.
* i386nbsd-tdep.c (fetch_core_registers, fetch_elfcore_registers):
Update.
* i386obsd-tdep.c (fetch_core_registers): Update.
* i386v4-nat.c (supply_fpregset): Update.
* x86-64-linux-nat.c (supply_fpregset): Update.
* x86-64-linux-tdep.c (fetch_core_registers): Update.