binutils-gdb.git
21 years agoCheck in the new files.
H.J. Lu [Wed, 23 Apr 2003 16:40:04 +0000 (16:40 +0000)]
Check in the new files.

21 years ago2003-04-23 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 23 Apr 2003 16:34:39 +0000 (16:34 +0000)]
2003-04-23  H.J. Lu <hjl@gnu.org>

* ld-elfvers/vers.exp (objdump_dynsymstuff): Support empty
files.
(objdump_versionstuff): Likewise.
Add tests vers25a, vers25b1 and vers25b2 for versioned
definition vs. normal definition in different files.

* ld-elfvers/vers25a.c: New file.
* ld-elfvers/vers25a.dsym: Likewise.
* ld-elfvers/vers25a.map: Likewise.
* ld-elfvers/vers25a.ver: Likewise.

* ld-elfvers/vers25b.c: New empty file.
* ld-elfvers/vers25b.dsym: Likewise.
* ld-elfvers/vers25b.ver: Likewise.

21 years ago2003-04-22 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 23 Apr 2003 15:02:02 +0000 (15:02 +0000)]
2003-04-22  Andrew Cagney  <cagney@redhat.com>

* infcall.c (call_function_by_hand): Use new variable "bp_addr" to
compute the breakpoint address.  Only call FIX_CALL_DUMMY when
ON_STACK.  Eliminate the variable "addr".  Do not pass "real_pc"
to DEPRECATED_PUSH_RETURN_ADDRESS.

21 years agoAccept -fo as an alias for -o
Nick Clifton [Wed, 23 Apr 2003 09:00:22 +0000 (09:00 +0000)]
Accept -fo as an alias for -o

21 years ago * elf32-i386.c (elf_i386_info_to_howto): Delete.
Alan Modra [Wed, 23 Apr 2003 05:21:29 +0000 (05:21 +0000)]
* elf32-i386.c (elf_i386_info_to_howto): Delete.
(elf_info_to_howto): Define as elf_i386_info_to_howto_rel.

21 years ago*** empty log message ***
gdbadmin [Wed, 23 Apr 2003 03:38:43 +0000 (03:38 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 23 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
Kevin Buettner [Tue, 22 Apr 2003 23:18:26 +0000 (23:18 +0000)]
* dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUM
on the DWARF2 register number prior to fetching a register.

21 years ago * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
Joel Brobecker [Tue, 22 Apr 2003 23:04:40 +0000 (23:04 +0000)]
    * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.
        Update all the tests using SOFT_FLOAT considering the fact that
        this macro was always set to 0.
        * config/pa/tm-hppa64.h: Update all the tests using SOFT_FLOAT
        considering the fact that this macro was always set to 0.
        * hppa-tdep.h (hppa_store_return_value): Likewise.
        (hppa_extract_return_value): Likewise.

21 years agomerge from gcc
DJ Delorie [Tue, 22 Apr 2003 20:04:52 +0000 (20:04 +0000)]
merge from gcc

21 years ago * fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.
Doug Evans [Tue, 22 Apr 2003 18:50:55 +0000 (18:50 +0000)]
* fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.
* frv-desc.c,frv-desc.h,frv-opc.c,frv-opc.h: Regenerate.
* ip2k-desc.c,ip2k-desc.h,ip2k-opc.c,ip2k-opc.h: Regenerate.
* m32r-desc.c,m32r-desc.h,m32r-opc.c,m32r-opc.h: Regenerate.
* m32r-opinst.c: Regenerate.
* openrisc-desc.c,openrisc-desc.h,openrisc-opc.c,openrisc-opc.h: Regenerate.
* xstormy16-desc.c,xstormy16-desc.h,xstormy16-opc.c,xstormy16-opc.h: Regenerate.

21 years ago * config/pa/tm-hppa.h: Remove obsolete code, was used by
Joel Brobecker [Tue, 22 Apr 2003 18:27:47 +0000 (18:27 +0000)]
    * config/pa/tm-hppa.h: Remove obsolete code, was used by
        the hppa-pro target only.

21 years ago2003-04-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Apr 2003 17:46:51 +0000 (17:46 +0000)]
2003-04-22  H.J. Lu <hjl@gnu.org>

* app.c (do_scrub_chars): Check for valid label.

21 years agoRename -I to -J. Deprecate old use of -I, but leave it enabled for now.
Nick Clifton [Tue, 22 Apr 2003 17:31:08 +0000 (17:31 +0000)]
Rename -I to -J.   Deprecate old use of -I, but leave it enabled for now.

21 years agoReplace references to Mitsubishi M32R with references to Renesas M32R.
Nick Clifton [Tue, 22 Apr 2003 16:22:26 +0000 (16:22 +0000)]
Replace references to Mitsubishi M32R with references to Renesas M32R.

21 years ago2003-04-22 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 22 Apr 2003 15:00:02 +0000 (15:00 +0000)]
2003-04-22  H.J. Lu <hjl@gnu.org>

* ld-elfcomm/elfcomm.exp: Support 64bit targets.

21 years ago Ongoing multi-arch conversion effort for HP/UX:
Joel Brobecker [Tue, 22 Apr 2003 02:44:27 +0000 (02:44 +0000)]
   Ongoing multi-arch conversion effort for HP/UX:
       * config/pa/tm-hppa.h: Move all macro that are no longer
       defined now that GDB_MULTI_ARCH is now set to 1 from here...
       * config/pa/tm-hppa64.h: ... to here (hppa64 is not multiarch'ed yet).

21 years ago * config/pa/tm-hppa.h: Obsolete a section that was only used
Joel Brobecker [Tue, 22 Apr 2003 01:13:05 +0000 (01:13 +0000)]
   * config/pa/tm-hppa.h: Obsolete a section that was only used
       for hppa-pro.

21 years ago Ongoing multi-arch conversion for HP/UX.
Joel Brobecker [Tue, 22 Apr 2003 00:53:54 +0000 (00:53 +0000)]
    Ongoing multi-arch conversion for HP/UX.
        * config/pa/tm-hppa.h (GDB_MULTI_ARCH): Set to 1. Do not define
        if already defined (allows hppa64 to stay non-multiarched for now).
        * config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Define.

21 years ago*** empty log message ***
gdbadmin [Tue, 22 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 22 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
Richard Henderson [Mon, 21 Apr 2003 22:17:12 +0000 (22:17 +0000)]
    * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for an
        executable when a symbol is defined both regular and dynamic.

21 years ago2003-04-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 21 Apr 2003 19:34:02 +0000 (19:34 +0000)]
2003-04-21  Andrew Cagney  <cagney@redhat.com>

* frame.c (frame_id_eq): Fail when the code_addr's do not match.

21 years ago2003-04-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 21 Apr 2003 18:55:52 +0000 (18:55 +0000)]
2003-04-21  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with
"i386_num_mmx_regs".

21 years ago * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
Richard Henderson [Mon, 21 Apr 2003 18:23:25 +0000 (18:23 +0000)]
    * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.
        (out_file_list): Assign non-null filename after generating error.

21 years ago2003-04-21 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 21 Apr 2003 16:48:41 +0000 (16:48 +0000)]
2003-04-21  Andrew Cagney  <cagney@redhat.com>

* infcall.c: New file.
* infcall.h: New file.
* valarith.c: Include "infcall.h".
* scm-lang.c, objc-lang.cm, hppa-tdep.c, gcore.c: Ditto.
* eval.c, ada-valprint.c, ada-lang.c: Ditto.
* Makefile.in (valarith.o, scm-lang.o): Update dependencies.
(objc-lang.o, hppa-tdep.o, gcore.o): Update dependencies.
(eval.o, ada-valprint.o, ada-lang.o): Update dependencies.
(SFILES): Add "infcall.c"
(COMMON_OBS): Add "infcall.o".
(infcall.o): Specify dependencies.
* value.h (call_function_by_hand): Delete declaration.
* inferior.h (run_stack_dummy): Delete declaration.
* infcmd.c (breakpoint_auto_delete_contents): Move to "infcall.c".
(run_stack_dummy): Move to "infcall.c", merged into
call_function_by_hand.
* valops.c (call_function_by_hand): Moved to "infcall.c".
(find_function_addr, value_arg_coerce): Ditto.
(unwindonsignal_p, coerce_float_to_double): Ditto.
(_initialize_valops): Move "set/show coerce-float-to-double", and
"set/show unwindonsignal" commands to "infcall.c".
* v850-tdep.c, target.h: Update comments.
* sparc-tdep.c (sparc_fix_call_dummy): Update comments.
* sh-tdep.c (sh_init_extra_frame_info): Update comments.
(sh64_init_extra_frame_info): Update comments.
* mn10300-tdep.c: Update comments.
* mcore-tdep.c (mcore_init_extra_frame_info): Update comments.
* config/sparc/tm-sparc.h: Update comments.
* breakpoint.h: Update comments.
* avr-tdep.c (avr_init_extra_frame_info): Update comments.
* arm-tdep.c: Update comment.

21 years ago * ld-m68hc11/far-hc11.s: New file.
Stephane Carrez [Mon, 21 Apr 2003 13:30:14 +0000 (13:30 +0000)]
* ld-m68hc11/far-hc11.s: New file.
* ld-m68hc11/far-hc11.d: New test for HC11 trampoline generation.
* ld-m68hc11/far-hc12.s: New file.
* ld-m68hc11/far-hc12.d: New test for HC12 trampoline generation.
* ld-m68hc11/far-hc12.ld: New file.

21 years ago * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
Stephane Carrez [Mon, 21 Apr 2003 13:29:05 +0000 (13:29 +0000)]
* emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.
* emulparams/m68hc11elfb.sh: Likewise.
* emulparams/m68hc12elf.sh: Likewise.
* emulparams/m68hc12elfb.sh: Likewise.

21 years ago * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
Stephane Carrez [Mon, 21 Apr 2003 13:24:19 +0000 (13:24 +0000)]
* Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.
(elf32-m68hc1x.lo): Update dependencies
* configure.in: Add elf32-m68hc1x.lo.
* configure: Rebuild.
* Makefile.in: Rebuild.

21 years ago * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
Stephane Carrez [Mon, 21 Apr 2003 13:22:14 +0000 (13:22 +0000)]
* elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
(m68hc11_elf_hash_table_create): New function.
(elf32_m68hc11_link_hash_table_free): New function.
(stub_hash_newfunc): New function.
(m68hc11_add_stub): New function.
(elf32_m68hc11_add_symbol_hook): New function.
(elf32_m68hc11_setup_section_lists): New function.
(elf32_m68hc11_next_input_section): New function.
(elf32_m68hc11_size_stubs): New function.
(elf32_m68hc11_build_stubs): New function.
(m68hc11_get_relocation_value): New function.
(elf32_m68hc11_relocate_section): Call the above to redirect
some relocations to the trampoline code.
(m68hc11_elf_export_one_stub): New function.
(m68hc11_elf_set_symbol): New function.
(elf32_m68hc11_build_stubs): Call it via bfd_hash_traverse.
(m68hc11_elf_get_bank_parameters): Get parameters only when the info
is not yet initialized.

* elf32-m68hc1x.h: New file (from elf32-m68hc11.c and elf32-m68hc12.c)
(elf32_m68hc11_stub_hash_entry): New struct.
(m68hc11_page_info): Add trampoline handler address.
(m68hc11_elf_link_hash_table): Add stubs generation members.
(elf32_m68hc11_add_symbol_hook): Declare.
(elf32_m68hc11_setup_section_lists): Declare.
(elf32_m68hc11_size_stubs): Declare.
(elf32_m68hc11_build_stubs): Declare.

* elf32-m68hc11.c (m68hc11_elf_ignore_reloc): Move to elf32-m68hc1x.c.
(elf32_m68hc11_gc_mark_hook, elf32_m68hc11_gc_sweep_hook): Likewise.
(elf32_m68hc11_check_relocs, elf32_m68hc11_relocate_section): Ditto.
(_bfd_m68hc11_elf_set_private_flags): Ditto.
(_bfd_m68hc11_elf_merge_private_bfd_data): Ditto.
(_bfd_m68hc11_elf_print_private_bfd_data): Ditto.
(bfd_elf32_bfd_link_hash_table_create): Define.
(elf_backend_add_symbol_hook): Define.
(m68hc11_elf_bfd_link_hash_table_create): New function.
(m68hc11_elf_build_one_stub): New function.
(m68hc11_elf_size_one_stub): New function.
(m68hc11_elf_bfd_link_hash_table_create): Install the above.
(bfd_elf32_bfd_link_hash_table_create): Define.

* elf32-m68hc12.c (m68hc11_elf_ignore_reloc): Remove.
(m68hc12_addr_is_banked): Remove, use m68hc11_addr_is_banked.
(m68hc12_phys_addr): Ditto.
(m68hc12_phys_page): Ditto.
(m68hc12_elf_special_reloc): Move to elf32-m68hc1x.c.
(elf32_m68hc11_gc_mark_hook): Likewise.
(elf32_m68hc11_gc_sweep_hook): Likewise.
(elf32_m68hc11_check_relocs): Likewise.
(elf32_m68hc11_relocate_section): Likewise.
(_bfd_m68hc12_elf_set_private_flags): Likewise.
(_bfd_m68hc12_elf_merge_private_bfd_data): Likewise.
(_bfd_m68hc12_elf_print_private_bfd_data): Likewise.
(m68hc12_elf_build_one_stub): New function.
(m68hc12_elf_size_one_stub): New function.
(m68hc12_elf_bfd_link_hash_table_create): New function, use the above.
(elf_backend_add_symbol_hook): Define.
(elf_m68hc11_howto_table): Use TRUE for pcrel relocs; fix masks.

21 years agodaily update
Alan Modra [Mon, 21 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Mon, 21 Apr 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago*** empty log message ***
gdbadmin [Sun, 20 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 20 Apr 2003 00:00:07 +0000 (00:00 +0000)]
daily update

21 years ago* i386-tdep.c (i386_num_register_names): New variable.
Mark Kettenis [Sat, 19 Apr 2003 14:43:50 +0000 (14:43 +0000)]
* i386-tdep.c (i386_num_register_names): New variable.
(i386_num_mmx_regs): Renamed from mmx_num_regs.
(MM0_REGNUM): Remove redundant parentheses in define.
(i386_mmx_regnum_p): Use i386_mmx_regnum instead of mmx_num_regs.
(i386_fp_regnum_p, i386_fpc_regnum_p, i386_sse_regnum_p,
i386_mxcsr_regnum_p): Remove redundant parentheses.
(i386_register_name): Use i386_num_register_names.

21 years ago* i386-tdep.c (i386_extract_return_value,
Mark Kettenis [Sat, 19 Apr 2003 14:38:47 +0000 (14:38 +0000)]
* i386-tdep.c (i386_extract_return_value,
i386_store_return_value): Correct check for availability of
floating-point registers.

21 years ago* i386-tdep.c (i386_frame_num_args): Remove function.
Mark Kettenis [Sat, 19 Apr 2003 14:34:31 +0000 (14:34 +0000)]
* i386-tdep.c (i386_frame_num_args): Remove function.
(i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.

21 years ago* i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
Mark Kettenis [Sat, 19 Apr 2003 14:30:33 +0000 (14:30 +0000)]
* i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed from
mmx_regnum_to_fp_regnum.  Adjust all callers.

21 years ago* i386-tdep.c (i386_get_longjmp_target): Use
Mark Kettenis [Sat, 19 Apr 2003 14:26:15 +0000 (14:26 +0000)]
* i386-tdep.c (i386_get_longjmp_target): Use
TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT
and TARGET_CHAR_BIT.  Use extract_typed_address instead of
extract_address.

21 years ago* core-regset.c: Update comments to reflect reality. Re-order
Mark Kettenis [Sat, 19 Apr 2003 12:00:48 +0000 (12:00 +0000)]
* core-regset.c: Update comments to reflect reality.  Re-order
includes.
(fetch_core_registers): Use switch instead of if.  Remove
redundant prototype.

21 years ago * emultempl/m68hc1xelf.em: New file to generate far trampolines on
Stephane Carrez [Sat, 19 Apr 2003 08:26:38 +0000 (08:26 +0000)]
* emultempl/m68hc1xelf.em: New file to generate far trampolines on
68HC11 and 68HC12.
(LDEMUL_BEFORE_ALLOCATION): Override to gather the trampolines to
generate.
(LDEMUL_FINISH): Override to generate the trampolines after gc and
linker relaxation.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Override to create the
stub file for trampolines.
(PARSE_AND_LIST_OPTIONS, PARSE_AND_LIST_LONGOPTS): New options
--no-trampoline and --bank-window to control the memory bank window.

21 years ago* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
DJ Delorie [Sat, 19 Apr 2003 00:19:40 +0000 (00:19 +0000)]
* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.
* Makefile.in: Regenerate.

* configure.in (powerpc64*-*-linux*): Remove.
* configure: Rebuilt.

21 years agodaily update
Alan Modra [Sat, 19 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 19 Apr 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* s390-tdep.c (s390_frame_align): New function.
Jim Blandy [Fri, 18 Apr 2003 20:20:21 +0000 (20:20 +0000)]
* s390-tdep.c (s390_frame_align): New function.
(s390_gdbarch_init): Register it with the gdbarch object.

21 years ago2003-04-18 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 18 Apr 2003 15:33:49 +0000 (15:33 +0000)]
2003-04-18  H.J. Lu <hjl@gnu.org>

* ldfile.c (ldfile_add_library_path): Remove the unused
variable.

21 years ago * ehopt.c (check_eh_frame): For aug_size == 0
Jakub Jelinek [Fri, 18 Apr 2003 11:53:12 +0000 (11:53 +0000)]
* ehopt.c (check_eh_frame): For aug_size == 0
in state_seeing_aug_size state skip the state_skipping_aug
state.

21 years agoDefine __data and __rdata
Nick Clifton [Fri, 18 Apr 2003 08:26:17 +0000 (08:26 +0000)]
Define __data and __rdata

21 years agoOnly check associated vector if the matching_vector has been created.
Nick Clifton [Fri, 18 Apr 2003 08:06:01 +0000 (08:06 +0000)]
Only check associated vector if the matching_vector has been created.

21 years ago * remote.c (minitelnet): Don't redeclare escape_count, echo_check.
Richard Henderson [Fri, 18 Apr 2003 00:21:38 +0000 (00:21 +0000)]
* remote.c (minitelnet): Don't redeclare escape_count, echo_check.

21 years agodaily update
Alan Modra [Fri, 18 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 18 Apr 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* Makefile.tpl (GCC_STRAP_TARGETS): New variable containing all the
DJ Delorie [Thu, 17 Apr 2003 21:30:52 +0000 (21:30 +0000)]
* Makefile.tpl (GCC_STRAP_TARGETS):  New variable containing all the
previous bootstrap targets, plus bubblestrap, quickstrap, cleanstrap,
and restrap.
* Makefile.in:  Regenerate.

* configure.in (arm-*-netbsdelf*): Enable building java libraries.
* configure: Regenerated.

21 years ago2003-04-17 Michael Snyder <msnyder@redhat.com>
Elena Zannoni [Thu, 17 Apr 2003 20:33:09 +0000 (20:33 +0000)]
2003-04-17  Michael Snyder  <msnyder@redhat.com>
    Karen Bennet  <bennet@redhat.com>

Committed by Elena Zannoni  <ezannoni@redhat.com>
* gdb_gcore.sh: New script to create a core dump of a process.

21 years ago2003-04-17 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Thu, 17 Apr 2003 20:31:43 +0000 (20:31 +0000)]
2003-04-17  Elena Zannoni  <ezannoni@redhat.com>

* values.c (value_being_returned): Don't fetch the return
        value if the return type is void.

21 years ago2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Apr 2003 17:30:02 +0000 (17:30 +0000)]
2003-04-17  Jeff Johnston  <jjohnstn@redhat.com>

        * thread-db.c: Reindented.

21 years ago2003-04-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Apr 2003 17:18:49 +0000 (17:18 +0000)]
2003-04-17  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb_indent.sh: Recognize td_thrhandle_t, td_event_msg_t,
        td_thr_events_t, td_notify_t, td_thr_iter_f, and td_thrinfo_t
        as types.

21 years ago*** empty log message ***
gdbadmin [Thu, 17 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Thu, 17 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agomerge from gcc
DJ Delorie [Wed, 16 Apr 2003 23:09:21 +0000 (23:09 +0000)]
merge from gcc

21 years agoFix typo.
Kevin Buettner [Wed, 16 Apr 2003 20:44:04 +0000 (20:44 +0000)]
Fix typo.

21 years ago * rs6000-tdep.c (rs6000_gdbarch_init): For the SVR4 ABI, set
Kevin Buettner [Wed, 16 Apr 2003 20:41:46 +0000 (20:41 +0000)]
* rs6000-tdep.c (rs6000_gdbarch_init): For the SVR4 ABI, set
the size of ``long double'' to 16, instead of 8.

21 years ago * gdb.base/args.exp: Invoke gdb_load for simulator targets.
Kevin Buettner [Wed, 16 Apr 2003 20:29:42 +0000 (20:29 +0000)]
* gdb.base/args.exp: Invoke gdb_load for simulator targets.

21 years ago2003-04-16 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Wed, 16 Apr 2003 20:07:08 +0000 (20:07 +0000)]
2003-04-16  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/completion.exp: Make 'info func mark' complete on 'info
        func marke' instead. Update test name.

21 years ago* i386-linux-nat.c: Add some whitespace to make things more
Mark Kettenis [Wed, 16 Apr 2003 15:22:02 +0000 (15:22 +0000)]
* i386-linux-nat.c: Add some whitespace to make things more
readable.
(fetch_register, store_register, fetch_inferior_registers,
store_inferior_registers): Get rid of assignment in if-statement.
(store_register): Fix typo in error message.

21 years ago2003-04-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 16 Apr 2003 14:43:03 +0000 (14:43 +0000)]
2003-04-16  Andrew Cagney  <cagney@redhat.com>

* utils.c (xmmalloc): Always allocate something, matches
libiberty/xmalloc's semantics.
(xmrealloc, xmcalloc): Ditto.

21 years ago2003-04-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 16 Apr 2003 14:39:47 +0000 (14:39 +0000)]
2003-04-16  Andrew Cagney  <cagney@redhat.com>

* frame.c (get_prev_frame): Do not initialize "unwind" or "type",
update comments.
(get_frame_type): Initialize unwind and type when needed.
(get_frame_id, frame_register_unwind): Ditto.

21 years ago2003-04-16 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 16 Apr 2003 14:32:21 +0000 (14:32 +0000)]
2003-04-16  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention that sparclet-*-* and sparclite-*-* have been made
obsolete.
* sparc-tdep.c: Obsolete SPARCLET and SPARCLITE code.
* sparcl-stub.c: Obsolete file.
* config/sparc/tm-sparclet.h: Obsolete file.
* sparclet-stub.c: Obsolete file.
* sparclet-rom.c: Obsolete file.
* sparcl-tdep.c: Obsolete file.
* config/sparc/tm-sparclite.h: Obsolete file.
* config/sparc/sparclite.mt: Obsolete file.
* config/sparc/sparclet.mt: Obsolete file.
* configure.tgt: Make sparclet-*-*, sparclite-*-*, and
sparc86x-*-* obsolete.

21 years ago Add .jcr section mapping.
Nick Clifton [Wed, 16 Apr 2003 11:53:46 +0000 (11:53 +0000)]
 Add .jcr section mapping.

21 years agomerge from gcc
DJ Delorie [Wed, 16 Apr 2003 04:55:31 +0000 (04:55 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Wed, 16 Apr 2003 03:51:54 +0000 (03:51 +0000)]
merge from gcc

21 years agoFix changelog.
Andrew Cagney [Wed, 16 Apr 2003 00:58:40 +0000 (00:58 +0000)]
Fix changelog.

21 years ago2003-04-15 Richard Sandiford <rsandifo@redhat.com>
Chris Demetriou [Wed, 16 Apr 2003 00:52:08 +0000 (00:52 +0000)]
2003-04-15  Richard Sandiford  <rsandifo@redhat.com>

        * vr.igen (do_vr_mul_op): Zero-extend the low 32 bits of
        unsigned operands.

21 years ago* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
Alexandre Oliva [Wed, 16 Apr 2003 00:30:24 +0000 (00:30 +0000)]
* dwarf2.c (_bfd_dwarf2_find_nearest_line): Fix typo in
2003-04-09's change.

21 years ago*** empty log message ***
gdbadmin [Wed, 16 Apr 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 16 Apr 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-15 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 15 Apr 2003 23:07:11 +0000 (23:07 +0000)]
2003-04-15  David Carlton  <carlton@math.stanford.edu>

* Makefile.in (SFILES): Add cp-namespace.c.
(COMMON_OBS): Add cp-namespace.o.
(block.o): Depend on gdb_obstack_h and cp_support_h.
(buildsym.o): Depend on cp_support_h.
(cp-namespace.o): New.
(cp-support.o): Depend on gdb_string_h, demangle_h, gdb_assert_h,
gdb_obstack_h, symtab_h, symfile_h, and gdbcmd_h.
(dwarf2read.o): Depend on cp_support_h.
* jv-lang.c (get_java_class_symtab): Set BLOCK_NAMESPACE.
* dwarf2read.c (process_die): Set processing_has_namespace_info,
processing_current_namespace.
(read_namespace): Update processing_current_namespace; check for
anonymous namespaces.
(dwarf2_name): New function.
(dwarf2_extension): Ditto.
* cp-support.h: Update copyright, contributors.
Add inclusion guards.
Add opaque declaration for structs obstack, block, symbol.
(struct using_direct): New struct.
Add declarations for cp_find_first_component,
cp_entire_prefix_len, processing_has_namespace_info,
processing_current_namespace, cp_is_anonymous,
cp_add_using_directive, cp_initialize_namespace,
cp_finalize_namespace, cp_set_block_scope,
cp_scan_for_anonymous_namespaces.
* cp-namespace.c: New file.
* cp-support.c: Update copyright.
Include ctype.h, gdb_assert.h, gdbcmd.h.
New variable maint_cplus_cmd_list.
(cp_find_first_component): New function.
(cp_entire_prefix_len, maint_cplus_command)
(first_component_command, _initialize_cp_support): Ditto.
* buildsym.c: Include cp-support.h.
New variable using_list.
(add_symbol_to_list): Check for anonymous namespaces.
(finish_block): Set block's scope.
(start_symtab): Initialize C++ namespace support.
(end_symtab): Finalize C++ namespace support.
* block.h: Add opaque declarations for structs
block_namespace_info, using_direct, and obstack.
Add declarations for block_set_scope and block_set_using.
(struct block): Add 'language_specific' member.
(BLOCK_NAMESPACE): New macro.
* block.c: Include gdb_obstack.h and cp-support.h.
(struct block_namespace_info): New struct.
(block_set_scope): New function.
(block_set_using, block_initialize_namespace): Ditto.

2003-04-15  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/maint.exp: New file.

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 21:36:21 +0000 (21:36 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 21:29:34 +0000 (21:29 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 20:15:47 +0000 (20:15 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 15:27:20 +0000 (15:27 +0000)]
merge from gcc

21 years ago2003-04-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 15 Apr 2003 14:56:06 +0000 (14:56 +0000)]
2003-04-15  H.J. Lu <hjl@gnu.org>

* ld-elfcom/elfcom.exp: Fix a typo.

21 years ago2003-04-15 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 15 Apr 2003 14:50:29 +0000 (14:50 +0000)]
2003-04-15  H.J. Lu <hjl@gnu.org>

From Debian by Jack Howarth <howarth@nitro.med.uc.edu>:

* ldlex.l: Use YY_CURRENT_BUFFER instead of yy_current_buffer.

21 years agoIf a section holds uninitialized data and is from an object file or from an
Nick Clifton [Tue, 15 Apr 2003 14:26:06 +0000 (14:26 +0000)]
If a section holds uninitialized data and is from an object file or from an
executable image that has not initialized the s_size field, or if the physical
size is padded, use the virtual size (stored in s_paddr) instead.

21 years agoProperly report filename for alignment reduction.
Nick Clifton [Tue, 15 Apr 2003 09:38:11 +0000 (09:38 +0000)]
Properly report filename for alignment reduction.
Add test for alignment reduction.

21 years agoReplace occurrances of 'Hitachi' with 'Renesas'.
Nick Clifton [Tue, 15 Apr 2003 08:51:55 +0000 (08:51 +0000)]
Replace occurrances of 'Hitachi' with 'Renesas'.

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 03:53:53 +0000 (03:53 +0000)]
merge from gcc

21 years agomerge from gcc
DJ Delorie [Tue, 15 Apr 2003 03:02:18 +0000 (03:02 +0000)]
merge from gcc

21 years ago2003-04-14 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Tue, 15 Apr 2003 02:23:11 +0000 (02:23 +0000)]
2003-04-14  Elena Zannoni  <ezannoni@redhat.com>

* gdb.threads/schedlock.c: Change type of thread function argument
to long, to avoid warnings on 64-bit platforms.

21 years ago * solib-svr4.c (svr4_have_link_map_offsets): New function.
Kevin Buettner [Tue, 15 Apr 2003 00:28:23 +0000 (00:28 +0000)]
* solib-svr4.c (svr4_have_link_map_offsets): New function.
(locate_base): Return early if there aren't any link map offsets.
(svr4_solib_create_inferior_hook): Warn if shared library support
is unavailable.

21 years ago*** empty log message ***
gdbadmin [Tue, 15 Apr 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 15 Apr 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-04-14 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 14 Apr 2003 19:56:32 +0000 (19:56 +0000)]
2003-04-14  David Carlton  <carlton@math.stanford.edu>

* symtab.c (symbol_set_names): Add prefix when storing Java names
in hash table.  Fix for PR java/1039.

21 years ago2003-04-14 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 14 Apr 2003 19:55:27 +0000 (19:55 +0000)]
2003-04-14  David Carlton  <carlton@math.stanford.edu>

* symtab.c (symbol_set_names): Rename 'name' arg to
'linkage_name', and 'tmpname' variable to 'linkage_name_copy'.
* symtab.h: Change 'name' argument in declaration of
symbol_set_names to 'linkage_name'.
(SYMBOL_SET_NAMES): Change 'name' argument to 'linkage_name'.

21 years ago2003-04-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 14 Apr 2003 19:16:13 +0000 (19:16 +0000)]
2003-04-14  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_read_sp): Do not apply ADDR_BITS_REMOVE,
return the fully sign-extended register value.
(get_frame_pointer): Ditto.
(mips_pop_frame): Initialize "proc_desc" after checking for a
dummy frame.

21 years ago2003-04-14 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 14 Apr 2003 19:06:48 +0000 (19:06 +0000)]
2003-04-14  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_push_dummy_frame): Delete function.
(MASK, PUSH_FP_REGNUM, GEN_REG_SAVE_MASK): Delete macros.
(FLOAT_REG_SAVE_MASK, FLOAT_SINGLE_REG_SAVE_MASK): Delete macro.
(mips_push_register): Delete function.
(mips_dump_tdep): Delete references to GEN_REG_SAVE_MASK and
PUSH_FP_REGNUM.

21 years agogdb/ChangeLog:
Jim Blandy [Mon, 14 Apr 2003 18:42:28 +0000 (18:42 +0000)]
gdb/ChangeLog:
2003-04-10  Jim Blandy  <jimb@redhat.com>

* symmisc.c: #include "gdb_regex.h".
(maintenance_list_symtabs, maintenance_list_psymtabs): New
functions.
* maint.c (maintenance_list_command): New function.
(_initialize_maint_cmds): Register the above as commands.
* symtab.h (maintenance_list_symtabs,
maintenance_list_psymtabs): New declarations.
* cli/cli-cmds.c (maintenancelistlist): New variable.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (maintenancelistlist): New declaration.
* gdbcmd.h (maintenancelistlist): New declaration.
* Makefile.in (symmisc.o): Update dependencies.

gdb/doc/ChangeLog:
2003-04-09  Jim Blandy  <jimb@redhat.com>

* gdb.texinfo (Symbols): Document 'maint list symtabs' and 'maint
list psymtabs'.

21 years agomerge from gcc
DJ Delorie [Mon, 14 Apr 2003 18:27:58 +0000 (18:27 +0000)]
merge from gcc

21 years ago2003-04-08 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 14 Apr 2003 14:21:07 +0000 (14:21 +0000)]
2003-04-08  Elena Zannoni  <ezannoni@redhat.com>

* s390-nat.c: Include asm/types.h for addr_t.

21 years ago2003-04-14 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 14 Apr 2003 14:04:06 +0000 (14:04 +0000)]
2003-04-14  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/attach.exp: Add new message from ptrace in case of
        attaching to nonexistent process.