platform/upstream/binutils.git
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

20 years agoReviewed and approved by cagney@gnu.org.
Fred Fish [Thu, 26 Feb 2004 22:19:18 +0000 (22:19 +0000)]
Reviewed and approved by cagney@gnu.org.

2004-02-26  Fred Fish  <fnf@redhat.com>
* gdb.arch/gdb1431.c: Remove.
* gdb.arch/gdb1431.s: New file, copy of gdb1291.s
* gdb.arch/gdb1431.exp: Use "advance" correctly instead
of "until" incorrectly.

20 years ago2004-02-26 Eric Christopher <echristo@redhat.com>
Eric Christopher [Thu, 26 Feb 2004 21:27:32 +0000 (21:27 +0000)]
2004-02-26  Eric Christopher  <echristo@redhat.com>

* config/tc-mips.c (mips_dwarf2_addr_size): New.
* config/tc-mips.h (DWARF2_ADDR_SIZE): Use.

20 years ago2004-02-26 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Thu, 26 Feb 2004 20:52:08 +0000 (20:52 +0000)]
2004-02-26  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Coding): Document use of gdbarch_obstack_zalloc
in Per-architecture module data section.

20 years ago * gdb.cp/class2.cc (empty): New class.
Joel Brobecker [Thu, 26 Feb 2004 20:22:44 +0000 (20:22 +0000)]
    * gdb.cp/class2.cc (empty): New class.
        (refer): New function.
        (main): Declare an object of type empty and use it.
        * gdb.cp/class2.exp: Print the value of an object of type empty.

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

        * gdb.base/langs.exp: Update query string to match the
        new nquery format used for pending breakpoints.

20 years ago2004-02-26 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Feb 2004 17:45:19 +0000 (17:45 +0000)]
2004-02-26  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_check_relocs): Fix call to
count_dyn_reloc.

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

Fix PR i18n/1570.
* charset.c (backslashable, backslashed, represented): Remove 'e'
from list of escaped characters, not part of ISO-C.

Index: charset.c
Index: testsuite/ChangeLog
2004-02-26  Andrew Cagney  <cagney@redhat.com>

Fix PR i18n/1570.
* gdb.base/charset.c: Update copyright notice.
(main, init_string): Remove the escape character '\e' tests.
* gdb.base/printcmds.exp (test_print_all_chars): Ditto.
* gdb.base/charset.exp (valid_host_charset): Ditto.
* gdb.base/setvar.exp: Ditto.

20 years ago2004-02-23 Andrew Stubbs <andrew.stubbs@superh.com>
Joern Rennecke [Thu, 26 Feb 2004 16:14:42 +0000 (16:14 +0000)]
2004-02-23  Andrew Stubbs <andrew.stubbs@superh.com>

gas:
* tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
nibble types to assembler.
opcodes:
* sh-dis.c (print_insn_sh): Add REG_N_D nibble type to
ensure that double registers have even numbers.
Add REG_N_B01 for nn01 (binary 01) nibble to ensure
that reserved instruction 0xfffd does not decode the same
as 0xfdfd (ftrv).
* sh-opc.h: Add REG_N_D nibble type and use it whereever
REG_N refers to a double register.
Add REG_N_B01 nibble type and use it instead of REG_NM
in ftrv.
Adjust the bit patterns in a few comments.

20 years ago * remote-utils.c (write_enn): Use "E01" instead of "ENN" for the
Daniel Jacobowitz [Thu, 26 Feb 2004 15:08:47 +0000 (15:08 +0000)]
* remote-utils.c (write_enn): Use "E01" instead of "ENN" for the
error packet.
* server.c, target.h: Update copyright years.

20 years agoPatch reviewed and approved by nickc@redhat.com.
Fred Fish [Thu, 26 Feb 2004 14:12:26 +0000 (14:12 +0000)]
Patch reviewed and approved by nickc@redhat.com.

2004-02-25  Fred Fish  <fnf@redhat.com>
* config/tc-iq2000.c: Add missing \n\ in multiline string literal.

20 years ago2004-02-25 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Thu, 26 Feb 2004 03:54:06 +0000 (03:54 +0000)]
2004-02-25  H.J. Lu  <hongjiu.lu@intel.com>

* elfxx-ia64.c (elfNN_ia64_dyn_reloc_entry): Add the reltext.
field to track if a relocation is against readonly section.
(count_dyn_reloc): Take a new argument for rent->reltext.
(elfNN_ia64_check_relocs): Adjust call to count_dyn_reloc.
(get_reloc_section): Don't set ia64_info->reltext here.
(allocate_dynrel_entries): Set ia64_info->reltext here.

20 years ago * ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst.
Aldy Hernandez [Thu, 26 Feb 2004 03:24:44 +0000 (03:24 +0000)]
    * ppc-opc.c (powerpc_opcodes): Change mask for dcbt and dcbtst.

20 years ago * tui/tui.c: Move system header includes after local includes.
Joel Brobecker [Thu, 26 Feb 2004 02:08:04 +0000 (02:08 +0000)]
    * tui/tui.c: Move system header includes after local includes.
        Fixes a build failure on solaris systems.

20 years ago * configure.in: Refine the previous change.
Joel Brobecker [Thu, 26 Feb 2004 00:41:46 +0000 (00:41 +0000)]
    * configure.in: Refine the previous change.
        * configure: Regenerate.

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

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

20 years ago * pe-dll.c (fill_edata): Check that exported_symbol_sections is
Danny Smith [Wed, 25 Feb 2004 21:00:32 +0000 (21:00 +0000)]
* pe-dll.c (fill_edata): Check that exported_symbol_sections is
not NULL.

20 years ago*** empty log message ***
Mark Kettenis [Wed, 25 Feb 2004 20:59:12 +0000 (20:59 +0000)]
*** empty log message ***

20 years ago* amd64-tdep.h: Renamed from x86-64-tdep.h.
Mark Kettenis [Wed, 25 Feb 2004 20:45:31 +0000 (20:45 +0000)]
* amd64-tdep.h: Renamed from x86-64-tdep.h.
* amd64-tdep.c: Renamed from x86-64-tdep.c.  Include
"amd64-tdep.h" instead of "x86-64-tdep.h".
* amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h".
* amd64-linux-tdep.h: Renamed from x86-64-linux.h.
* amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c.  Include
"amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
and "x86-64-tdep.c".
* amd64-linux-nat.c: Renamed from x86-64-linux-nat.c.  Include
"amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h"
and "x86-64-tdep.c".
* amd64bsd-nat.c: Update copyright year.
Include "amd64-tdep.h" instead of "x86-64-tdep.h".
* amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64fbsd-nat.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64nbsd-nat.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64obsd-tdep.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* amd64obsd-nat.c: Include "amd64-tdep.h" instead of
"x86-64-tdep.h".
* configure.host: (x86_64-*-linux*): Set gdb_target to linux64.
* configure.tgt (x86_64-*-linux*): Set gdb_target to linux64.
* Makefile.in (amd64_linux_tdep_h): Renamed from
x86_64_linux_tdep_h.
(amd64_tdep_h): Renamed from x86_64_tdep_h.
(amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o)
(amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o)
(amd64obsd-tdep.o): Update dependencies.
(amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New
dependencies.
(x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove
dependencies.
(ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c,
amd64-linux-nat.c amd64-linux-tdep.c.
* config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h
* config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h.
* config/i386/linux64.mt: Renamed from x86-64linux.mt.
(TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with
amd64-tdep.o and amd64-linux-tdep.o.
(TM_FILE): Set to tm-linux64.h.
* config/i386/linux64.mh: Renamed from x86-64linux.mh.
(NAT_FILE): Set to nm-linux64.h.
(NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o.
* config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
amd64-tdep.o.
* config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
amd64-tdep.o.
* config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with
amd64-tdep.o.

20 years ago.
Roland McGrath [Wed, 25 Feb 2004 20:41:42 +0000 (20:41 +0000)]
.

20 years ago2004-02-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Feb 2004 20:41:29 +0000 (20:41 +0000)]
2004-02-25  Roland McGrath  <roland@redhat.com>

* target.h (struct target_ops): New member `read_auxv'.
* server.c (handle_query): Handle qPart:auxv:read: query using that.
* linux-low.c (linux_read_auxv): New function.
(linux_target_ops): Initialize `read_auxv' member to that.

20 years ago2004-02-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Feb 2004 20:41:00 +0000 (20:41 +0000)]
2004-02-25  Roland McGrath  <roland@redhat.com>

* remote.c (remote_protocol_qPart_auxv): New variable.
(init_all_packet_configs): Initialize it.
(set_remote_protocol_qPart_auxv_packet_cmd): New function.
(show_remote_protocol_qPart_auxv_packet_cmd): New function.
(show_remote_cmd): Call it.
(_initialize_remote): Initialize commands.
(remote_xfer_partial): If enabled, use qPart:auxv:read:... query to
service TARGET_OBJECT_AUXV requests.

20 years ago * configure.in: Make sure that the wborder function is available.
Joel Brobecker [Wed, 25 Feb 2004 20:09:46 +0000 (20:09 +0000)]
    * configure.in: Make sure that the wborder function is available.
        Otherwise, search for it in the cur_colr library.
        * configure: Regenerate.

20 years ago2004-02-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 25 Feb 2004 20:00:40 +0000 (20:00 +0000)]
2004-02-25  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa32_push_dummy_call): Rewrite.

20 years ago.
Roland McGrath [Wed, 25 Feb 2004 19:35:44 +0000 (19:35 +0000)]
.

20 years ago2004-02-25 Roland McGrath <roland@redhat.com>
Roland McGrath [Wed, 25 Feb 2004 19:35:30 +0000 (19:35 +0000)]
2004-02-25  Roland McGrath  <roland@redhat.com>

* gdb.texinfo (General Query Packets): Document qPart:... packets.

20 years ago* config/i386/tm-x86-64linux.h: Tweak comments.
Mark Kettenis [Wed, 25 Feb 2004 19:27:40 +0000 (19:27 +0000)]
* config/i386/tm-x86-64linux.h: Tweak comments.

20 years agoFix date in last commit...sigh.
Richard Sandiford [Wed, 25 Feb 2004 18:48:22 +0000 (18:48 +0000)]
Fix date in last commit...sigh.

20 years ago * MAINTAINERS: Add self to write-after-approval list.
Richard Sandiford [Wed, 25 Feb 2004 18:48:03 +0000 (18:48 +0000)]
* MAINTAINERS: Add self to write-after-approval list.

20 years ago2004-02-25 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 25 Feb 2004 15:57:42 +0000 (15:57 +0000)]
2004-02-25  Andrew Cagney  <cagney@redhat.com>

PR cli/1566.  Problem found, and fix suggested by David Allan.
* cli/cli-script.c (execute_control_command): Unconditionally
install a cleanup.  Default "ret" to "invalid_control".  Use
"break" instead of "return" to escape from the switch.

20 years agoAdd self.
Richard Sandiford [Wed, 25 Feb 2004 08:46:59 +0000 (08:46 +0000)]
Add self.

20 years agomerge from gcc
DJ Delorie [Wed, 25 Feb 2004 05:40:03 +0000 (05:40 +0000)]
merge from gcc

20 years agomerge from gcc
DJ Delorie [Wed, 25 Feb 2004 02:04:37 +0000 (02:04 +0000)]
merge from gcc

20 years ago * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
Joel Brobecker [Wed, 25 Feb 2004 01:10:01 +0000 (01:10 +0000)]
    * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collision
        with the lines macro defined in term.h on AiX.
        * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid
        a collision with the label_width macro defined in term.h on AiX.

20 years ago*** empty log message ***
gdbadmin [Wed, 25 Feb 2004 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

20 years agodaily update
Alan Modra [Tue, 24 Feb 2004 23:00:06 +0000 (23:00 +0000)]
daily update

20 years ago2004-02-24 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Tue, 24 Feb 2004 22:58:05 +0000 (22:58 +0000)]
2004-02-24  Andrew Cagney  <cagney@redhat.com>

* gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing
mmapped data in core file" PASS and FAIL messages consistent.

20 years agoRemove merge conflict characters.
Kevin Buettner [Tue, 24 Feb 2004 22:35:44 +0000 (22:35 +0000)]
Remove merge conflict characters.

20 years ago2004-02-23 David Mosberger <davidm@hpl.hp.com>
Kevin Buettner [Tue, 24 Feb 2004 22:35:01 +0000 (22:35 +0000)]
2004-02-23  David Mosberger  <davidm@hpl.hp.com>

Committed by Kevin Buettner <kevinb@redhat.com>.

* ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare.
* ia64-tdep.c (ia64_write_pc): Make it a global function.
(ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc()
instead of ia64_write_pc().
* ia64-linux-tdep.c (regcache.h): Include.
(ia64_linux_write_pc): New function.

20 years ago* ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that
Alexandre Oliva [Tue, 24 Feb 2004 16:39:09 +0000 (16:39 +0000)]
* ld-frv/fdpic-pie-2.d: Adjust for decay of FUNCDESC relocs that
bind locally.
* ld-frv/fdpic-pie-8.d: Likewise.
* ld-frv/fdpic-shared-4.d: Likewise.
* ld-frv/fdpic-pie-6-fail.d: Renamed from...
* ld-frv/fdpic-pie-6.d: New test.
* ld-frv/fdpic-shared-6-fail.d: Renamed from...
* ld-frv/fdpic-shared-6.d: New test.
* ld-frv/fdpic6.ldv: New.
* ld-frv/fdpic-static-6.d: Adjust test name.
* ld-frv/fdpic-pie-8-fail.d: Removed.
* ld-frv/fdpic.exp: Run new tests.

20 years ago* elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
Alexandre Oliva [Tue, 24 Feb 2004 16:39:01 +0000 (16:39 +0000)]
* elf32-frv.c (FRV_SYM_LOCAL): Weak undefined doesn't imply local.
(_frv_emit_got_relocs_plt_entries): Decay relocation to protected
function's descriptor to symbol+offset, and map local undefweak
symbol to NULL function descriptor.
(elf32_frv_relocate_section): Likewise.

20 years agomerge from gcc
DJ Delorie [Tue, 24 Feb 2004 16:30:50 +0000 (16:30 +0000)]
merge from gcc

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

* gdb.java/jmisc.exp: Use the fully quallified name of "main" when
setting a breakpoint.  Work around PR java/1565.

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

* annotate.texinfo: Wrap fdl.texi include in raise/lower sections.
* gdb.texinfo, gdbint.texinfo, stabs.texinfo: Ditto.
* fdl.texi: Import Version 1.2, November 2002.

20 years ago.
Roland McGrath [Tue, 24 Feb 2004 01:00:50 +0000 (01:00 +0000)]
.

20 years ago2004-02-23 Roland McGrath <roland@redhat.com>
Roland McGrath [Tue, 24 Feb 2004 01:00:30 +0000 (01:00 +0000)]
2004-02-23  Roland McGrath  <roland@redhat.com>

* auxv.c (info_auxv_command): Fix typos in error messages.

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

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

20 years ago* x86-64-tdep.h: Tewak comment.
Mark Kettenis [Mon, 23 Feb 2004 21:37:52 +0000 (21:37 +0000)]
* x86-64-tdep.h: Tewak comment.
(enum amd64_regnum): New.
(X86_64_RAX_REGNUM, X86_64_RDX_REGNUM, X86_64_RDI_REGNUM)
(X86_64_RBP_REGNUM, X86_64_RSP_REGNUM, X86_64_RIP_REGNUM)
(X86_64_EFLAGS_REGNUM, X86_64_ST0_REGNUM, X86_64_XMM0_REGNUM)
(X86_64_XMM1_REGNUM): Removed.
(AMD64_NUM_GREGS): Renamed from X86_64_NUM_GREGS.
(amd64_init_abi, amd64_supply_fxsave, amd64_fill_fxsave): Adjust
prototypes for renamed functions.
* x86-64-tdep.c: Fix typo.
(amd64_dwarf_regmap): Use constants from `enum amd64_regnum' for
register numbers.
(amd64_return_value, amd64_push_arguments, amd64_push_dummy_call):
Use constants from `enum amd64_regnum' for register numbers.
(AMD64_NUM_SAVED_REGS): Adjust for renamed macros.
(amd64_analyze_prologue, amd64_frame_cache,
amd64_sigtramp_frame_cache): Use constants from `enum
amd64_regnum' for register numbers.
(amd64_supply_fpregset): Adjust for renamed functions.
(amd64_init_abi): Rename from x86_64_init_abi.  Use constants from
`enum amd64_regnum' for register numbers.
(I387_ST0_REGNUM): Use constant from `enum amd64_regnum'.
(amd64_supply_fxsave): Rename from x86_64_supply_fxsave.
(amd64_fill_fxsave): Rename fro x86_64_fill_fxsave.
* x86-64-linux-tdep.c (amd64_linux_supply_gregset)
(amd64_linux_fill_gregset): Adjust for renamed macros.
(fetch_core_registers): Adjust for renamed functions.
(amd64_linux_init_abi): Adjust for renamed functions.
* x86-64-linux-nat.c (supply_gregset, fill_gregset): Adjust for
renamed functions.
* amd64-nat.c: Adjust for renamed macros.
* amd64bsd-nat.c (fetch_inferior_registers)
(store_inferior_registers): Use constants from `enum amd64_regnum'
for register numbers.  Adjust for renamed variables.
* amd64fbsd-nat.c (supply_gregset, fill_gregset): Adjust for
renamed variables.
(_initialize_amd64fbsd_nat): Use constants from `enum
amd64_regnum' for register numbers.
* amd64fbsd-tdep.c (amd64fbsd_sigcontext_addr): Use constants from
`enum amd64_regnum' for register numbers.
(amd64fbsd_init_abi): Adjust for renamed functions.
* amd64nbsd-tdep.c (amd64nbsd_sigcontext_addr): Use constants from
`enum amd64_regnum' for register numbers.
(amd64nbsd_init_abi): Adjust for renamed functions.
(_initialize_amd64nbsd_ndep): Adjust for renamed macros.
* amd64obsd-tdep.c (amd64obsd_sigcontext_addr): Use constants from
`enum amd64_regnum' for register numbers.
(amd64obsd_init_abi): Adjust for renamed functions.
(_initialize_amd64obsd_ndep): Adjust for renamed macros.

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

        * breakpoint.c (print_one_breakpoint): Do not output spaces
        after printing <PENDING> for a pending breakpoint.

20 years ago * ldlang.c (lang_check): Use %P, not %E, in error message.
Ian Lance Taylor [Mon, 23 Feb 2004 19:41:53 +0000 (19:41 +0000)]
* ldlang.c (lang_check): Use %P, not %E, in error message.

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

        * printcmd.c (print_scalar_formatted): Initialize val_long
        to remove compiler warning message.

20 years ago2004-02-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Feb 2004 19:37:48 +0000 (19:37 +0000)]
2004-02-23  Andrew Cagney  <cagney@redhat.com>

* texinfo/texinfo.tex: Update from version 2003-02-03.16 to
2004-02-19.09.

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

        * lib/gdb.exp (gdb_breakpoint): Update query string to match
        new nquery format.
        * gdb.base/pending.exp: Ditto.

20 years agoRemove conflict indicators.
Jeff Johnston [Mon, 23 Feb 2004 19:26:45 +0000 (19:26 +0000)]
Remove conflict indicators.

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

        * defs.h (nquery, yquery): New prototypes.
        * breakpoint.c (break_command_1): Use new nquery interface.
        * utils.c (defaulted_query, nquery, yquery): New functions.

20 years agoApply m32r patches from Renesas
Nick Clifton [Mon, 23 Feb 2004 16:46:46 +0000 (16:46 +0000)]
Apply m32r patches from Renesas

20 years ago2004-02-23 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Feb 2004 16:35:54 +0000 (16:35 +0000)]
2004-02-23  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_frame_align): New function.
(hppa32_push_dummy_call): New function.
(hppa64_push_dummy_call): New function.
(hppa_gdbarch_init): Set frame_align and push_dummy_call; keep
disabled.

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

* infcall.c (legacy_push_dummy_code): Don't call deprecated
FIX_CALL_DUMMY when push_dummy_call is available.
(call_function_by_hand, push_dummy_code): Ditto.

20 years agoMissed adding ChangeLog entry and updating copyright year in a previous
Fred Fish [Mon, 23 Feb 2004 16:18:09 +0000 (16:18 +0000)]
Missed adding ChangeLog entry and updating copyright year in a previous
check in of callfuncs.exp.

2004-02-20  Fred Fish  <fnf@redhat.com>
* gdb.base/callfuncs.exp (do_function_calls): Remove extraneous
blank in test for "returns short", for consistency with other
"returns xxx" tests.  Update copyright year.

20 years agoAdd support for 64bit NETBSD cores
Nick Clifton [Mon, 23 Feb 2004 15:25:20 +0000 (15:25 +0000)]
Add support for 64bit NETBSD cores

20 years ago * ldlang.h (struct lang_output_section_state): Change processed
Nathan Sidwell [Mon, 23 Feb 2004 10:10:02 +0000 (10:10 +0000)]
* ldlang.h (struct lang_output_section_state): Change processed
field's type.
* ldexp.c (check, invalid): Remove.
(fold_name): Move valid_p assignments. Create undefined symbol
when needed. Directly exampine section's processd flag.
* ldlang.c (lang_output_section_statement_lookup): Adjust
processed field init.
(lang_size_sections_1): Allow LOADADDR when determining section's
VMA. Adjust error message. Fold data statement's expr.
(lang_size_sections): Correctly increment lang_statement_iteration.

* ld-scripts/provide.exp: New.
* ld-scripts/provide-{1,2,3}.{s,t,d}.exp: New.

* ldexp.c (fold_tree): Follow indirect symbols.

20 years ago * ld-scripts/data.t: Set ".other" address so location doesn't
Alan Modra [Mon, 23 Feb 2004 09:24:46 +0000 (09:24 +0000)]
* ld-scripts/data.t: Set ".other" address so location doesn't
depend on target alignment.
* ld-scripts/data.d: Update.

20 years ago * elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
Jakub Jelinek [Mon, 23 Feb 2004 09:01:58 +0000 (09:01 +0000)]
* elflink.h (size_dynamic_sections): If not adding DT_FLAGS and
DF_BIND_NOW is set in info->flags, create DT_BIND_NOW dynamic entry.

20 years ago(process_mips_specific): Print conflictsno as an unsigned long.
Nick Clifton [Mon, 23 Feb 2004 08:45:05 +0000 (08:45 +0000)]
(process_mips_specific): Print conflictsno as an unsigned long.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 23 Feb 2004 00:06:40 +0000 (00:06 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa.h (CALL_DUMMY_LOCATION): Delete macro.
(DEPRECATED_PC_IN_CALL_DUMMY): Delete macro.
(DEPRECATED_USE_GENERIC_DUMMY_FRAMES): Delete macro.
* hppa-tdep.c (hppa_gdbarch_init): Clear deprecated
use_generic_dummy_frames, set deprecated pc_in_call_dummy, set
call_dummy_location to ON_STACK.

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

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

20 years ago* x86-64-linux-tdep.c: Tweak comment.
Mark Kettenis [Sun, 22 Feb 2004 20:29:48 +0000 (20:29 +0000)]
* x86-64-linux-tdep.c: Tweak comment.
(amd64_linux_supply_gregset): Renamed from
x86_64_linux_supply_gresget.
(amd64_linux_fill_gregset): Renamed from
x86_64_linux_fill_gregset.
(fetch_core_registers): Adjust for renamed functions.
(amd64_core_fns): Renamed from x86_64_core_fns.
(amd64_linux_sigtramp_start): Renamed from
x86_64_linux_sigtramp_start.
(amd64_linux_pc_in_sigtramp): Renamed from
x86_64_linux_pc_in_sigtramp.  Adjust for renamed functions.
(AMD64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Renamed from
X86_64_LINUX_UCONTEXT_SIGCONTEXT_OFFSET.
(amd64_linux_sigcontext_addr): Renamed from
x86_64_linux_sigcontext_addr.
(amd64_linux_sc_reg_offset): Renamed from
x86_64_linux_sc_reg_offset.
(amd64_linux_init_abi): Renamed from x86_64_linux_init_abi.
Adjust for renamed functions and variables.
(_initialize_amd64_linux_tdep): Renamed from
_initialize_x86_64_linux_tdep.  Adjust for renamed functions and
variables.
* x86-64-linux-tdep.h: Update copyright year.  Tweak comment.
Adjust for renamed functions.

20 years ago* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
Mark Kettenis [Sun, 22 Feb 2004 20:19:41 +0000 (20:19 +0000)]
* x86-64-linux-nat.c (amd64_linux_gregset64_reg_offset): Rename
from x86_64_linux_gregset64_reg_offset.
(amd64_linux_gregset32_reg_offset): Rename from
x86_64_linux_gregset64_reg_offset.
(amd64_linux_dr_get): Renamed from x86_64_linux_dr_get.
(amd64_linux_dr_set): Renamed from x86_64_linux_dr_set.
(amd64_linux_dr_set_control): Renamed from
x86_64_linux_dr_set_control.  Adjust for renamed functions.
(amd64_linux_dr_set_addr): Renamed from x86_64_linux_dr_set_addr.
Adjust for renamed functions.
(amd64_linux_dr_reset_addr): Renamed from
x86_64_linux_dr_reset_addr. Adjust for renamed functions.
(amd64_linux_dr_get_status): Renamed from
x86_64_linux_dr_get_status.  Adjust for renamed functions.
(_initialize_amd64_linux_nat): Renamed from
_initialize_x86_64_linux_nat.  Adjust for renamed variables and
functions.
* config/i386/nm-x86-64linux.h: Update copyright year.
Adjust for renamed functions.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 19:22:37 +0000 (19:22 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa32_return_value): New function.
(hppa64_return_value): New function.
(hppa_gdbarch_init): Set return_value; keep disabled.

20 years ago* amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
Mark Kettenis [Sun, 22 Feb 2004 19:14:55 +0000 (19:14 +0000)]
* amd64fbsd-tdep.c (amd64fbsd_sigtramp_start_addr): Renamed from
amd64fbsd_sigtramp_start.
(amd64fbsd_sigtramp_end_addr): Renamed from
amd64fbsd_sigtramp_end.
(amd64fbsd_init_abi): Adjust for renamed variables.
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Adjust for renamed
variables.
* x86-64-tdep.h (amd64fbsd_sigtramp_start_addr): Renamed from
amd64fbsd_sigtramp_start.
(amd64fbsd_sigtramp_end_addr): Renamed from
amd64fbsd_sigtramp_end.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 17:58:10 +0000 (17:58 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Re-order separating
struct-return and inferior function call methods.

20 years agoIndex: ChangeLog
Andrew Cagney [Sun, 22 Feb 2004 17:34:17 +0000 (17:34 +0000)]
Index: ChangeLog
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c: Include "trad-frame.h", "frame-unwind.h", and
"frame-base.h".
(struct hppa_frame_cache): Define.
(hppa_frame_cache, hppa_frame_this_id): New functions.
(hppa_frame_prev_register): New function.
(hppa_frame_unwind, hppa_frame_base): New variables.
(hppa_frame_unwind_sniffer): New function.
(hppa_frame_base_address, hppa_unwind_pc): New function.
(hppa_gdbarch_init): Set unwind_dummy_id, unwind_pc, frame unwind
sniffer, and frame base sniffer; keep disabled.
(hppa_frame_base_sniffer, hppa_unwind_dummy_id): New functions.
* Makefile.in: Update dependencies, fix s/nbsd/obsd/ typo.

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 17:08:42 +0000 (17:08 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* frame-unwind.c (frame_unwind_find_by_frame): Add legacy_frame_p
to predicates for "seriously old code".

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 17:01:04 +0000 (17:01 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* hppa-tdep.c (hppa_gdbarch_init): Convert compile time #if0s into
runtime if(0).

20 years agoFix previous commit:
Mark Kettenis [Sun, 22 Feb 2004 16:56:34 +0000 (16:56 +0000)]
Fix previous commit:
Remove old 386BSD support.
* NEWS (REMOVED configurations and files): Add i[3456]86-*-bsd*.
* configure.host: Remove i[34567]86-*-bsd*.
* configure.tgt: Remove i[34567]86-*-bsd*.
* i386b-nat.c: Removed.
* Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
(i386b-nat.o): Remove dependencies.

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

* hppa-tdep.c (hppa_breakpoint_from_pc): Make "breakpoint"
unsigned.
(hppa_frame_find_saved_regs): Fix "std" instruction pattern

20 years ago2004-02-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Sun, 22 Feb 2004 16:51:37 +0000 (16:51 +0000)]
2004-02-22  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa.h: Update copyright.
(DEPRECATED_INIT_FRAME_PC): Delete macro.
(deprecated_init_frame_pc_default): Delete declaration.
(hppa_frame_init_saved_regs): Delete declaration.
(DEPRECATED_FRAME_INIT_SAVED_REGS): Delete macro.
* hppa-tdep.c: Include "arch-utils.h".
(hppa_gdbarch_init): Set deprecated init_frame_pc
and deprecated frame_init_saved_regs.
(hppa_frame_init_saved_regs): Make static.

20 years agoRemove old 386BSD support.
Mark Kettenis [Sun, 22 Feb 2004 16:48:24 +0000 (16:48 +0000)]
Remove old 386BSD support.
* configure.host: Remove i[34567]86-*-bsd*.
* configure.tgt: Remove i[34567]86-*-bsd*.
* i386b-nat.c: Removed.
* Makefile.in (ALLDEPFILES): Remove i386b-nat.c.
* config/i386/i386bsd.mh: Removed.
* config/i386/i386bsd.mt: Removed.
* config/i386/nm-i386bsd.h: Removed.
* config/i386/tm-i386bsd.h: Removed.
* config/i386/xm-i386bsd.h: Removed.

20 years ago* x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.
Mark Kettenis [Sun, 22 Feb 2004 16:30:04 +0000 (16:30 +0000)]
* x86-64-tdep.h (amd64obsd_r_reg_offset): New extern declaration.