aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-04-232003-04-23 H.J. Lu <hjl@gnu.org>H.J. Lu5-0/+32
* 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.
2003-04-232003-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-32/+43
* 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.
2003-04-23Accept -fo as an alias for -oNick Clifton3-30/+59
2003-04-23 * elf32-i386.c (elf_i386_info_to_howto): Delete.Alan Modra2-46/+42
(elf_info_to_howto): Define as elf_i386_info_to_howto_rel.
2003-04-23*** empty log message ***gdbadmin1-1/+1
2003-04-23daily updateAlan Modra1-1/+1
2003-04-22 * dwarf2loc.c (dwarf2_evaluate_loc_desc): Invoke DWARF2_REG_TO_REGNUMKevin Buettner2-1/+9
on the DWARF2 register number prior to fetching a register.
2003-04-22 * config/pa/tm-hppa.h (SOFT_FLOAT): Delete this macro.Joel Brobecker4-11/+16
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.
2003-04-22merge from gccDJ Delorie2-11/+20
2003-04-22 * fr30-desc.c,fr30-desc.h,fr30-opc.c,fr30-opc.h: Regenerate.Doug Evans26-172/+199
* 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.
2003-04-22 * config/pa/tm-hppa.h: Remove obsolete code, was used byJoel Brobecker2-39/+5
the hppa-pro target only.
2003-04-222003-04-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+7
* app.c (do_scrub_chars): Check for valid label.
2003-04-22Rename -I to -J. Deprecate old use of -I, but leave it enabled for now.Nick Clifton5-21/+52
2003-04-22Replace references to Mitsubishi M32R with references to Renesas M32R.Nick Clifton11-9/+32
2003-04-222003-04-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+7
* ld-elfcomm/elfcomm.exp: Support 64bit targets.
2003-04-22 Ongoing multi-arch conversion effort for HP/UX:Joel Brobecker3-319/+321
* 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).
2003-04-22 * config/pa/tm-hppa.h: Obsolete a section that was only usedJoel Brobecker2-37/+42
for hppa-pro.
2003-04-22 Ongoing multi-arch conversion for HP/UX.Joel Brobecker3-1/+14
* 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.
2003-04-22*** empty log message ***gdbadmin1-1/+1
2003-04-22daily updateAlan Modra1-1/+1
2003-04-21 * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Return false for anRichard Henderson2-1/+8
executable when a symbol is defined both regular and dynamic.
2003-04-212003-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-4/+6
* frame.c (frame_id_eq): Fail when the code_addr's do not match.
2003-04-212003-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* i386-tdep.c (i386_gdbarch_init): Replace "mmx_num_regs" with "i386_num_mmx_regs".
2003-04-21 * dwarf2dbg.c (get_filenum): Skip as-yet unassigned file numbers.Richard Henderson2-0/+8
(out_file_list): Assign non-null filename after generating error.
2003-04-212003-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney27-985/+1119
* 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.
2003-04-21 * ld-m68hc11/far-hc11.s: New file.Stephane Carrez6-0/+342
* 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.
2003-04-21 * emulparams/m68hc11elf.sh: Use m68hc1xelf.em extra.Stephane Carrez5-0/+15
* emulparams/m68hc11elfb.sh: Likewise. * emulparams/m68hc12elf.sh: Likewise. * emulparams/m68hc12elfb.sh: Likewise.
2003-04-21 * Makefile.am (BFD32_BACKENDS): Add elf32-m68hc1x.lo.Stephane Carrez5-8/+29
(elf32-m68hc1x.lo): Update dependencies * configure.in: Add elf32-m68hc1x.lo. * configure: Rebuild. * Makefile.in: Rebuild.
2003-04-21 * elf32-m68hc1x.c: New file (from elf32-m68hc11.c and elf32-m68hc12.c)Stephane Carrez5-803/+1998
(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.
2003-04-21daily updateAlan Modra1-1/+1
2003-04-21*** empty log message ***gdbadmin1-1/+1
2003-04-20*** empty log message ***gdbadmin1-1/+1
2003-04-20daily updateAlan Modra1-1/+1
2003-04-19* i386-tdep.c (i386_num_register_names): New variable.Mark Kettenis2-14/+28
(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.
2003-04-19* i386-tdep.c (i386_extract_return_value,Mark Kettenis2-2/+6
i386_store_return_value): Correct check for availability of floating-point registers.
2003-04-19* i386-tdep.c (i386_frame_num_args): Remove function.Mark Kettenis2-75/+4
(i386_gdbarch_init): Set frame_num_args to frame_num_args_unknown.
2003-04-19* i386-tdep.c (i386_mmx_regnum_to_fp_regnum): Renamed fromMark Kettenis2-5/+12
mmx_regnum_to_fp_regnum. Adjust all callers.
2003-04-19* i386-tdep.c (i386_get_longjmp_target): UseMark Kettenis2-3/+10
TYPE_LENGTH(builtin_type_void_func_ptr) instead of TARGET_PTR_BIT and TARGET_CHAR_BIT. Use extract_typed_address instead of extract_address.
2003-04-19* core-regset.c: Update comments to reflect reality. Re-orderMark Kettenis2-62/+54
includes. (fetch_core_registers): Use switch instead of if. Remove redundant prototype.
2003-04-19 * emultempl/m68hc1xelf.em: New file to generate far trampolines onStephane Carrez2-0/+404
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.
2003-04-19* Makefile.tpl (MAKEINFOFLAGS): Default to --split-size=5000000.DJ Delorie5-12/+14
* Makefile.in: Regenerate. * configure.in (powerpc64*-*-linux*): Remove. * configure: Rebuilt.
2003-04-19daily updateAlan Modra1-1/+1
2003-04-19*** empty log message ***gdbadmin1-1/+1
2003-04-18* s390-tdep.c (s390_frame_align): New function.Jim Blandy2-0/+15
(s390_gdbarch_init): Register it with the gdbarch object.
2003-04-182003-04-18 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* ldfile.c (ldfile_add_library_path): Remove the unused variable.
2003-04-18 * ehopt.c (check_eh_frame): For aug_size == 0Jakub Jelinek2-1/+9
in state_seeing_aug_size state skip the state_skipping_aug state.
2003-04-18Define __data and __rdataNick Clifton2-0/+6
2003-04-18Only check associated vector if the matching_vector has been created.Nick Clifton2-1/+8
2003-04-18 * remote.c (minitelnet): Don't redeclare escape_count, echo_check.Richard Henderson2-3/+4
2003-04-18daily updateAlan Modra1-1/+1