summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add support for executables whose debug info has been separatedjimb-separate-debug-021223-branchcvs/jimb-separate-debug-021223-branchJim Blandy2002-12-231-0/+260
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | out into a separate file, leaving only a link behind. * objfiles.h (struct objfile): New fields: separate_debug_objfile and separate_debug_objfile_backlink. (put_objfile_before): New declaration. * symfile.c: #include "filenames.h". (symbol_file_add_with_addrs_or_offsets): If this objfile has its debug info in a separate file, read that, too. Save the addrs argument, so we can use it again to read the separated debug info; syms_from_objfile modifies the table we pass it. (reread_symbols): After re-reading an objfile, call reread_separate_symbols to refresh its separate debug info objfile, if it has one. (reread_separate_symbols, find_separate_debug_file, get_debug_link_info, separate_debug_file_exists): New functions. (debug_file_directory): New global var. (_initialize_symfile): Initialize debug_file_directory, and provide the new `set debug-file-directory' command to let the user change it. * objfiles.c (free_objfile): If this objfile has its debug info in a separate objfile, free that one too. If this is itself a separate debug info objfile, clear our parent's backlink. (put_objfile_before): New function. * utils.c (gnu_debuglink_crc32): New function. * defs.h (gnu_debuglink_crc32): New declaration. * Makefile.in (symfile.o): Note dependency on "filenames.h". * configure.in: Handle --with-separate-debug-dir config option. * acinclude.m4 (AC_DEFINE_DIR): New macro. * acconfig.h (DEBUGDIR): New macro. * configure, aclocal.m4, config.in: Regenerated.
* * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,Jim Blandy2002-12-231-0/+20
| | | | | | | | | | | | | | | | | | | like the old symbol_file_add, but taking new arguments: you can now pass in either a `struct section_addr_info' list to say where each section is loaded, or a `struct section_offsets' table. Pass these new arguments through to syms_from_objfile as appropriate. (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, with the appropriate quiescent values for the new arguments. * symfile.c: #include "gdb_assert.h". (syms_from_objfile): Add the ability to pass in a section offset table directly, as an alternative to the section_addr_info table. Document arguments better. (symbol_file_add): Pass extra arguments to syms_from_objfile. * symfile.h (syms_from_objfile): Update declaration. * rs6000-nat.c (objfile_symbol_add): Pass new arguments to syms_from_objfile. * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
* * symfile.c (symbol_file_add_with_addrs_or_offsets): New function,Jim Blandy2002-12-231-9/+30
| | | | | | | | | like the old symbol_file_add, but taking new arguments: you can now pass in either a `struct section_addr_info' list to say where each section is loaded, or a `struct section_offsets' table. Pass these new arguments through to syms_from_objfile as appropriate. (symbol_file_add): Just call symbol_file_add_with_addrs_or_offsets, with the appropriate quiescent values for the new arguments.
* * symfile.c: #include "gdb_assert.h".Jim Blandy2002-12-234643-2092342/+82
| | | | | | | | | | | (syms_from_objfile): Add the ability to pass in a section offset table directly, as an alternative to the section_addr_info table. Document arguments better. (symbol_file_add): Pass extra arguments to syms_from_objfile. * symfile.h (syms_from_objfile): Update declaration. * rs6000-nat.c (objfile_symbol_add): Pass new arguments to syms_from_objfile. * Makefile.in (symfile.o): List dependency on $(gdb_assert_h).
* * x86-64-tdep.h (x86_64_init_abi): New prototype.Mark Kettenis2002-12-215-96/+36
| | | | | | | | | | | | | * x86-64-tdep.c (i386_fp_regnum_p): Remove function. (x86_64_init_abi): Make non-static. Set number of pseudo registers to 0. (x86_64_gdbarch_init): Remove function. (_initialize_x86_64_tdep): Renove register_gdbarch_init call. Remove code dealing with dissambly. * x86-64-linux-tdep.c (x86_64_linux_init_abi): New function. (_initialize_x86_64_linux_tdep): New function. * config/i386/x86-64linux.mt (TDEPFILES): Add i386-tdep.o and i386-tdep.o.
* * osabi.c: Include "gdb_assert.h" and "gdb_string.h".Mark Kettenis2002-12-2128-49/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (struct gdb_osabi_handler): Remove member `arch'. Add member `arch_info'. (gdbarch_register_osabi): Add new argument `machine'. Use ot to construct a `struct bfd_arch_info' and store it in the `struct gdb_osabi_handler' that is created. (gdbarch_init_osabi): Check for compatibility based on machine type and architecture. * osabi.h (gdbarch_register_osabi): Adjust prototype and update comment. * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Add 0 as second argument in call to gdbarch_register_osabi. * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. * arm-linux-tdep.c (_initialize_arm_linux_tdep): Likewise. * arm-tdep.c (_initialize_arm_tdep): Likewise. * armnbsd-tdep.c (_initialize_armnbsd_tdep): Likewise. * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Likewise. * i386-interix-tdep.c (_initialize_i386_interix_tdep): Likewise. * i386-linux-tdep.c (_initialize_i386_linux_tdep): Likewise. * i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Likewise. * i386-tdep.c (_initialize_i386_tdep): Likewise. * i386bsd-tdep.c (_initialize_i386bsd_tdep): Likewise. * i386gnu-tdep.c (_initialize_i386gnu_tdep): Likewise. * i386ly-tdep.c (_initialize_i386lynx_tdep): Renamed from _initialize_i386bsd_tdep and updated likewise. * i386nbsd-tdep.c (_initialize_i386nbsd_tdep): Likewise. * i386obsd-tdep.c (_initialize_i386obsd_tdep): Likewise. * mips-irix-tdep.c (_initialize_mips_irix_tdep): Likewise. * mips-linux-tdep.c (_initialize_mips_linux_tdep): Likewise. * mipsnbsd-tdep.c (_initialize_mipsnbsd__tdep): Likewise. * ns32knbsd-tdep.c (_initialize_ns32kmnsd_tdep): Likewise. * ppc-linux-tdep.c (_initialize_ppc_linux_tdep): Likewise. * ppcnbsd-tdep.c (_initialize_ppcnbsd_tdep): Likewise. * shnbsd-tdep.c (_initialize_shnbsd_tdep): Likewise. * sparcnbsd-tdep.c (_initialize_sparcnbsd_tdep): Likewise.
* Add DT_MIPS_RLD_MAP case for 64-bit targets.Kevin Buettner2002-12-212-3/+23
|
* Fix bug introduced when multiarching NUM_REGS.Kevin Buettner2002-12-212-1/+7
|
* Multiarch SVR4_FETCH_LINK_MAP_OFFSETS and GET_LONGJMP_TARGET for GNU/Linux/MIPS.Kevin Buettner2002-12-214-22/+32
|
* Disable WINCE workaround that subtracted 8 from pc relative relocations.Nick Clifton2002-12-212-0/+8
|
* *** empty log message ***gdbadmin2002-12-211-1/+1
|
* daily updateAlan Modra2002-12-201-1/+1
|
* * coff-h8300.c: Fix comment typos.Kazu Hirata2002-12-2010-12/+24
| | | | | | | | | | | * coffcode.h: Likewise. * cpu-cris.c: Likewise. * elf32-vax.c: Likewise. * genlink.h: Likewise. * linker.c: Likewise. * som.c: Likewise. * tekhex.c: Likewise. * vms-misc.c: Likewise.
* 2002-12-20 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-2021-1/+11
| | | | | | | | | | * library/srcbar.itcl (SrcBar): Don't load vmake icon. * library/images: Removed back.gif, build.gif, file.gif, fore.gif, gdbtk.gif, opt.gif, tools.gif, tools2_3d.gif, and vmake.gif. * library/images2: Removed back.gif, build.gif, file.gif, fore.gif, gdbtk.gif, load.gif, opt.gif, tools.gif, tools2_3d.gif, and vmake.gif.
* 2002-12-20 Jeff Johnston <jjohnstn@redhat.com>newlib-1_11_0Jeff Johnston2002-12-203-18/+341
| | | | | * COPYING.NEWLIB: Updated. * COPYING.LIBGLOSS: Ditto.
* * xstormy16.h: Add XSTORMY16_12.DJ Delorie2002-12-202-1/+6
|
* * reloc.c: Add BFD_RELOC_XSTORMY16_12.DJ Delorie2002-12-205-1/+29
| | | | | | | * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12. (xstormy16_reloc_map): Add R_XSTORMY16_12.
* 2002-12-20 David Carlton <carlton@math.stanford.edu>David Carlton2002-12-202-0/+5
| | | | * gdb.c++/annota2.exp: KFAIL annotate-quit.
* * agentexpr.texi: Fix typos.Kazu Hirata2002-12-204-8/+14
| | | | | * annotate.texi: Likewise. * fdl.texi: Likewise.
* * cgen-asm.c (cgen_parse_keyword): Added underscore to symbol characterDoug Evans2002-12-202-1/+8
| | | | check to fix false keyword trigger with names such as <keyword>_foo.
* 2002-12-19 Keith Seitz <keiths@redhat.com>Elena Zannoni2002-12-202-0/+9
| | | | | | patch committed by Elena Zannoni <ezannoni@redhat.com> * thread.c (do_captured_list_thread_ids): Call prune_threads and target_find_new_threads. Fix for PR mi/669.
* * arch.c,arch.h,cpuall.h: Regenerate.Doug Evans2002-12-2017-253/+265
| | | | | * cpu.c,cpu.h,decode.c,decode.h,model.c,sem-switch.c,sem.c: Regenerate. * cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,semx-switch.c: Regenerate.
* * Makefile.am (CGEN_CPUS): New variable.Doug Evans2002-12-203-15/+47
| | | | | (run-cgen-all): New rule. * Makefile.in: Regenerate.
* * doc/bfdint.texi: Fix typos.Kazu Hirata2002-12-202-2/+6
|
* * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".Alan Modra2002-12-206-517/+490
| | | | | | | | * configure.in (build-warnings): Likewise. (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
* *** empty log message ***gdbadmin2002-12-201-1/+1
|
* * bfdlink.h (struct bfd_link_info): Replace bfd_boolean fields withAlan Modra2002-12-192-66/+71
| | | | bit-fields. Rearrange to put all like types together.
* daily updateAlan Modra2002-12-191-1/+1
|
* Updated Help.Martin Hunt2002-12-1913-291/+181
|
* * Makefile.tpl: Revert HJL's change.Nathanael Nerode2002-12-194-8/+11
| | | | | | * Makefile.in: Regenerated. * configure.in: Put build_prefix before $(BUILD_SUBDIR) here, and always.
* Remove outdated FIXME comment.Kevin Buettner2002-12-191-1/+0
|
* 2002-12-19 David Carlton <carlton@math.stanford.edu>David Carlton2002-12-192-71/+102
| | | | | * linespec.c (decode_line_1): Move code into decode_all_digits. (decode_all_digits): New function.
* * exec.c (print_section_info): Select a format string to use withKevin Buettner2002-12-192-3/+9
| | | | local_hex_string_custom() based upon the value of TARGET_ADDR_BIT.
* * Makefile.tpl, configure.in: Substitute libstdcxx_incdir.Andreas Schwab2002-12-194-2/+10
| | | | * Makefile.in: Regenerate.
* 2002-12-18 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-192-2/+10
| | | | * library/main.tcl: Don't try to print errors to stderr on Windows.
* 2002-12-18 Michael Chastain <mec@shout.net>Michael Chastain2002-12-192-1/+5
| | | | * gdb.c++/annota2.exp: Add copyright year 2002.
* * coff-h8300.c: Include libiberty.h.Alan Modra2002-12-192-34/+62
| | | | | | | (h8300_reloc16_extra_cases): Check the hash table creator before referencing h8300 specific fields. Stash the hash table pointer in a local var. Comment typo fixes. (h8300_bfd_link_add_symbols): Likewise.
* 2002-12-18 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-192-3/+27
| | | | | | | | * library/regwin.itb (RegWin::update): When updating, check that a cell still exists before checking its value. (RegWin::_select_group): Clear cells with changed values before changing group. After new group is selected, highlight any changed values still visible.
* 2002-12-18 H.J. Lu <hjl@gnu.org>H.J. Lu2002-12-194-2/+14
| | | | | | | * Makefile.tpl: Add @build_prefix@ before $(BUILD_SUBDIR). * Makefile.in: Regenerated. * configure.in (build_prefix): New. Substitute.
* *** empty log message ***gdbadmin2002-12-191-1/+1
|
* daily updateAlan Modra2002-12-181-1/+1
|
* [ opcodes/ChangeLog ]Chris Demetriou2002-12-182-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-18 Chris Demetriou <cgd@broadcom.com> * mips-opc.c (mips_builtin_opcodes): Remove one "ror" and two "dror" entries, and reorder the remaining "dror" and "ror" entries. [ gas/ChangeLog ] 2002-12-18 Chris Demetriou <cgd@broadcom.com> * config/tc-mips.c (macro): In M_DROL, M_DROR, M_ROL, and M_ROR, use hardware rotate ops as appropriate. In M_DROL_I, M_DROR_I, M_ROL_I, and M_ROR_I, simplify code, clean up warnings, and arrange not to issue warnings about use of AT when AT is not actually used. [ gas/testsuite/ChangeLog ] 2002-12-18 Chris Demetriou <cgd@broadcom.com> * gas/mips/rol.s: Add ".set noat" and some new instructions to test. * gas/mips/rol64.s: Likewise. * gas/mips/rol.l: New file. * gas/mips/rol.d: Adjust to use rol.l and for rol.s changes. * gas/mips/rol64.l: New file. * gas/mips/rol64.d: Adjust to use rol64.l and for rol64.s changes. * gas/mips/rol-hw.d: New file. * gas/mips/rol-hw.l: New file. * gas/mips/rol64-hw.d: New file. * gas/mips/rol64-hw.l: New file. * gas/mips/mips.exp: Run rol-hw and rol64-hw tests.
* 2002-12-17 Martin M. Hunt <hunt@redhat.com>Martin Hunt2002-12-184-11/+105
| | | | | | | | | | | | | | | | | | | | | | * library/interface.tcl (gdbtk_tcl_fputs_target_err): New function. (gdbtk_tcl_fputs_target): Open console window if it is not already open. (gdbtk_gets): New function. Opens a console window if necessary and calls Console::gets. * library/console.ith (gets): Declare method. (_input_mode): New private variable. (_input_result): Ditto. (_input_error): Ditto. (_cancel): New private method (invoke): Add arg. * library/console.itb (_setprompt): Allow setting prompt to nothing. Delete to beginning of line before writing prompt. (gets): New public method to prompt user for input. (_cancel): New private method to handle ^C when inputting data. (invoke): Check for ^d when in input mode.
* * Makefile.tpl: Don't let real targets depend on phony targets.Nathanael Nerode2002-12-183-2/+5
| | | | * Makefile.in: Regenerate.
* 2002-12-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-12-184-9/+30
| | | | | | | | | * frame.c (deprecated_update_current_frame_pc_hack): Replace deprecated_update_current_frame_pc_hack. (deprecated_update_frame_base_hack): New function. * frame.h (deprecated_update_frame_pc_hack): Replace (deprecated_update_frame_base_hack): Declare. * infrun.c (normal_stop): Update.
* 2002-12-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-12-182-22/+33
| | | | | | | | | | * rs6000-tdep.c (rs6000_init_extra_frame_info): Use frame_extra_info_zalloc. (rs6000_frame_args_address): Use get_frame_extra_info. (frame_get_saved_regs): Use get_frame_saved_regs. (frame_initial_stack_address): Use get_frame_saved_regs and get_frame_extra_info. (frame_initial_stack_address): Use get_frame_extra_info.
* * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask andAlan Modra2002-12-183-22/+26
| | | | | dst_mask comments. * bfd-in2.h: Regenerate.
* * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic relocAlan Modra2002-12-182-6/+15
| | | | code a little. Comment on dynamic relocs against section symbols.
* 2002-12-18 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-12-183-4/+11
| | | | | * Makefile.tpl (do-info): Depend on maybe-all-texinfo, not all-texinfo. * Makefile.in: Regenerate.
* *** empty log message ***gdbadmin2002-12-181-1/+1
|