summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge changes from trunk.jimb-separate-debug-021125-branchcvs/jimb-separate-debug-021125-branchJim Blandy2002-12-231-56/+101
|
* Back initial version of Alex Larsson's change off the branch, so weJim Blandy2002-12-179-419/+0
| | | | can revise it.
* Add support for executables whose debug info has been separatedJim Blandy2002-11-2613-516/+1073
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (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 (calc_crc32): New function. * defs.h (calc_crc32): New declaration. * 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-11-262-9/+38
| | | | | | | | | 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-11-264780-2061719/+105
| | | | | | | | | | | (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 (init_objfile_sect_indices): New function.Jim Blandy2002-11-252-35/+49
| | | | | (default_symfile_offsets): Move the section-index-initializing stuff into init_objfile_sect_indices, and call that.
* * symtab.h (SIZEOF_N_SECTION_OFFSETS): New macro.Jim Blandy2002-11-252-4/+9
| | | | (SIZEOF_SECTION_OFFSETS): Use SIZEOF_N_SECTION_OFFSETS.
* * symfile.c (syms_from_objfile): Adjust indentation.Jim Blandy2002-11-252-6/+10
|
* * symfile.c (symbol_file_add): Flush gdb_stdout even if from_ttyJim Blandy2002-11-252-1/+10
| | | | || info_verbose isn't true.
* Patch from Kenneth Chen to fix brl disassembly.Jim Wilson2002-11-252-2/+6
| | | | * ia64-dis.c (print_insn_ia64): Correct handling of IA64_OPND_TGT64.
* * lib/mi-support.exp (mi_delete_breakpoints): Change name ofJim Blandy2002-11-252-1/+6
| | | | function appearing in error message.
* 2002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-256-17/+14
| | | | | | | | * gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Change default to get_frame_base. * gdbarch.h, gdbarch.c: Regenerate. * arch-utils.c (default_frame_address): Delete function. * arch-utils.h (default_frame_address): Delete declaration
* *** empty log message ***gdbadmin2002-11-251-1/+1
|
* 2002-11-24 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2002-11-242-1/+7
| | | | | | * varobj.c (find_frame_addr_in_frame_chain): Use get_frame_base instead of FRAME_FP, obvious fix.
* daily updateAlan Modra2002-11-241-1/+1
|
* 2002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2425-73/+128
| | | | | | | | | | | | | | | * frame.h (FRAME_FP): Delete macro. (get_frame_base): New function declaration. * frame.c (get_frame_base): New function. (get_frame_id): Use ->frame. (frame_find_by_id): Rewrite to use get_frame_id. * blockframe.c: Use get_frame_base instead of FRAME_FP. * cris-tdep.c, d10v-tdep.c, findvar.c, h8500-tdep.c: Ditto. * hppa-tdep.c, i386-tdep.c, infcmd.c, infrun.c: Ditto. * m68hc11-tdep.c, m68k-tdep.c, mcore-tdep.c, mips-tdep.c: Ditto. * mn10200-tdep.c, mn10300-tdep.c, rs6000-tdep.c: Ditto. * sh-tdep.c, sparc-tdep.c, stack.c, tracepoint.c: Ditto. * v850-tdep.c, valops.c, z8k-tdep.c: Ditto.
* 2002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-242-1/+8
| | | | | * generic/gdbtk-stack.c (gdb_selected_frame): Use get_frame_base instead of FRAME_FP. Mention that get_frame_id() should be used.
* 2002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-242-1/+4
| | | | * arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
* merge from gccDJ Delorie2002-11-242-0/+6
|
* 2002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-242-4/+21
| | | | | | * frame.c (set_unwind_by_pc): Revert change below, use PC_IN_CALL_DUMMY. (get_prev_frame): Ditto.
* 2002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-244-8/+65
| | | | | | | | | | | | | * dummy-frame.c (pc_in_dummy_frame): New function. (generic_pc_in_call_dummy): Call pc_in_dummy_frame. (find_dummy_frame): Update comment. (generic_pop_current_frame): Use get_frame_type. * dummy-frame.h (pc_in_dummy_frame): Declare. * frame.c (set_unwind_by_pc): Use pc_in_dummy_frame. (create_new_frame): Use pc_in_dummy_frame. (get_prev_frame): Use pc_in_dummy_frame. (frame_saved_regs_register_unwind): Use get_prev_frame. (deprecated_generic_get_saved_register): Use get_prev_frame.
* 2002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-244-23/+35
| | | | | | | | * blockframe.c (find_frame_addr_in_frame_chain): Move function from here ... * varobj.c (find_frame_addr_in_frame_chain): ... to here. (varobj_create): Note that frame ID should be used. * frame.h (find_frame_addr_in_frame_chain): Delete declaration.
* * libiberty.h (basename): Add NetBSD to the list.Jason Thorpe2002-11-242-1/+5
|
* 2002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-247-28/+30
| | | | | | | | | | | | | | | | | | * breakpoint.c: Include "gdb_assert.h". (deprecated_frame_in_dummy): Assert that generic dummy frames are not being used. * Makefile.in (breakpoint.o): Update dependencies. * ada-lang.c (find_printable_frame): Use get_frame_type instead of deprecated_frame_in_dummy. * stack.c (print_frame_info_base): Ditto. (frame_info): Ditto. (print_frame_info_base): Ditto. Delete dead code. Index: tui/ChangeLog 2002-11-23 Andrew Cagney <ac131313@redhat.com> * tuiStack.c (tuiShowFrameInfo): Use get_frame_type instead of deprecated_frame_in_dummy. Fix coding style.
* *** empty log message ***gdbadmin2002-11-241-1/+1
|
* daily updateAlan Modra2002-11-231-1/+1
|
* * Makefile.in (m68k_tdep_h): Define.Andreas Schwab2002-11-2312-93/+144
| | | | | | | | | | | | | | | | | | (abug-rom.o, cpu32bug-rom.o, dbug-rom.o, m68k-tdep.o, m68klinux-nat.o) (remote-est.o, rom68k-rom.o): Add $(m68k_tdep_h). * m68k-tdep.c: Move register number enum ... * m68k-tdep.h: ... to this new file and rename the constants from E_* to M68K_*. All uses changed. * config/m68k/tm-m68k.h (D0_REGNUM, A0_REGNUM): Remove definitions. * abug-rom.c: Include "m68k-tdep.h". Use M68K_D0_REGNUM/M68K_A0_REGNUM instead of D0_REGNUM/A0_REGNUM. * cpu32bug-rom.c: Likewise. * dbug-rom.c: Likewise. * m68k-tdep.c: Likewise. * m68klinux-nat.c: Likewise. * remote-est.c: Likewise. * rom68k-rom.c: Likewise. * config/m68k/tm-linux.h: Likewise.
* 2002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-233-49/+6
| | | | | | * arm-tdep.c (arm_gdbarch_init): Remove old style non-generic dummy frame initialization code. * mips-tdep.c (mips_gdbarch_init): Ditto.
* * win32-nat.c (child_attach): Reset saw_create counter or subsequent attachChristopher Faylor2002-11-232-0/+6
| | | | will hang.
* 2002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2316-50/+41
| | | | | | | | | | | | | | | | | | | | | | | | * gdbarch.sh (FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS): Default to default_frame_address. * gdbarch.h, gdbarch.c: Re-generate. * d10v-tdep.c (d10v_gdbarch_init): Do not set frame_args_address or frame_locals_address to default_frame_address. * m68k-tdep.c (m68k_gdbarch_init): Update. * i386-tdep.c (i386_gdbarch_init): Update. * frv-tdep.c (frv_gdbarch_init): Update. * sh-tdep.c (sh_gdbarch_init): Update. * v850-tdep.c (v850_gdbarch_init): Update. * sparc-tdep.c (sparc_gdbarch_init): Update. * mips-tdep.c (mips_gdbarch_init): Update. * mn10300-tdep.c (mn10300_gdbarch_init): Update. * x86-64-tdep.c (x86_64_gdbarch_init): Update. * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. * cris-tdep.c (cris_frame_args_address): Delete function. (cris_frame_locals_address): Delete function. (cris_gdbarch_init): Do not set frame_args_address or frame_locals_address.
* 2002-11-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2002-11-232-1/+12
| | | | | * thread-db.c (thread_db_load): Tell the user what's going on if dlopen fails on libthread_db.
* 2002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2336-669/+778
| | | | | | | | | | | | | * dv-core.c: Update copyright. sim/common contributed to the FSF. * dv-glue.c, dv-pal.c, hw-base.c, hw-base.h, hw-device.c: Ditto. * hw-device.h, hw-handles.c, hw-handles.h: Ditto. * hw-instances.c, hw-instances.h, hw-properties.c: Ditto. * hw-properties.h, hw-tree.c, hw-tree.h, sim-alu.h: Ditto. * sim-basics.h, sim-bits.c, sim-bits.h, sim-config.c: Ditto. * sim-config.h, sim-core.c, sim-core.h, sim-endian.c: Ditto. * sim-endian.h, sim-events.c, sim-events.h, sim-inline.c: Ditto. * sim-inline.h, sim-io.c, sim-io.h, sim-n-bits.h: Ditto. * sim-n-core.h, sim-n-endian.h, sim-types.h: Ditto.
* *** empty log message ***gdbadmin2002-11-231-1/+1
|
* * m68k-tdep.c (m68k_register_virtual_type): Use architectureAndreas Schwab2002-11-222-12/+18
| | | | invariant return values.
* 2002-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2002-11-222-14/+52
| | | | | | * gen.c (name_cmp): Rename format_name_cmp. (insn_list_insert): When a merge, compare the format name and instruction name. Add trace messages.
* daily updateAlan Modra2002-11-221-1/+1
|
* 2002-11-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2002-11-222-1/+6
| | | | * Makefile.in (install): Make 'install' do some real work.
* merge from gccDJ Delorie2002-11-226-4/+427
|
* Revert previous change --- the hour was late, and I was confused aboutJim Blandy2002-11-223-75/+0
| | | | its status.
* * valops.c (value_slice): Move declaration of `offset' to avoidAndreas Schwab2002-11-222-2/+7
| | | | warning.
* * win32-nat.c (psapi_get_dll_name): Fix a compiler warning.Christopher Faylor2002-11-223-4/+43
| | | | | | | | | | | | | | (struct so_stuff): Add end_addr field. (register_loaded_dll): Calculate and store end address of loaded dll. (solib_address): New function. (child_solib_loaded_library_pathname): Pass carefully constructed section info to safe_symbol_file_add rather than ignoring it. (get_child_debug_event): Call re_enable_breakpoints_in_shlibs when a DLL is loaded. (do_initial_child_stuff): Call disable_breakpoints_in_shlibs. (child_create_inferior): Fix a compiler warning. * config/i386/tm-cygwin.h (PC_SOLIB): Define new macro. (solib_address): Declare new function.
* * gdb.base/step-line.exp: Check that GDB can handle filenames thatJim Blandy2002-11-223-0/+75
| | | | | | | | | | appear in the line number info, but not in the preprocessor macro info. * lib/gdb.exp (gdb_internal_error_regexp): New variable. (gdb_internal_error_resync): New procedure. (gdb_test): If the command results in an internal error, answer GDB's questions until we get back to a prompt.
* * gdb.base/maint.exp (help maint dump-me): Update with typo fix.Daniel Jacobowitz2002-11-222-1/+5
|
* 2002-11-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2234-3113/+2750
| | | | | | | | | | | | * filter.c: Re-indent. * filter.h, filter_host.h, gen-engine.c, gen-engine.h: Ditto. * gen-icache.c, gen-icache.h, gen-idecode.c: Ditto. * gen-idecode.h, gen-itable.c, gen-itable.h: Ditto. * gen-model.c, gen-model.h, gen-semantics.c: Ditto. * gen-semantics.h, gen-support.c, gen-support.h: Ditto. * gen.c, gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto. * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto. * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
* 2002-11-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-11-2236-661/+790
| | | | | | | | | | | | * Makefile.in: Update copyright. IGEN contributed to the FSF. * filter.c, filter.h, filter_host.c, filter_host.h: Ditto. * gen-engine.c, gen-engine.h, gen-icache.c, gen-icache.h: Ditto. * gen-idecode.c, gen-idecode.h, gen-itable.c: Ditto. * gen-itable.h, gen-model.c, gen-model.h, gen-semantics.c: Ditto. * gen-semantics.h, gen-support.c, gen-support.h, gen.c: Ditto. * gen.h, igen.c, igen.h, ld-cache.c, ld-cache.h: Ditto. * ld-decode.c, ld-decode.h, ld-insn.c, ld-insn.h, lf.c: Ditto. * lf.h, misc.c, misc.h, table.c, table.h: Ditto.
* * m68k-tdep.c (m68k_register_virtual_type): Return int for SR, FPCAndreas Schwab2002-11-222-7/+17
| | | | and FPS registers.
* *** empty log message ***gdbadmin2002-11-221-1/+1
|
* daily updateAlan Modra2002-11-211-1/+1
|
* * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specificStephane Carrez2002-11-212-0/+9
| | | | interpreter is installed.
* * maint.c (_initialize_maint_cmds): Fix typo. FromDaniel Jacobowitz2002-11-212-1/+6
| | | | Francesco Potorti` <pot@gnu.org>.