aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-11-24daily updateAlan Modra1-1/+1
2002-11-242002-11-19 Andrew Cagney <ac131313@redhat.com>Andrew Cagney25-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-242002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+4
* arm-tdep.c (arm_gdbarch_init): Do not set get_saved_register.
2002-11-24merge from gccDJ Delorie2-0/+6
2002-11-242002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-4/+21
* frame.c (set_unwind_by_pc): Revert change below, use PC_IN_CALL_DUMMY. (get_prev_frame): Ditto.
2002-11-242002-11-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-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-242002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-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.
2002-11-24* libiberty.h (basename): Add NetBSD to the list.Jason Thorpe2-1/+5
2002-11-242002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-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.
2002-11-24*** empty log message ***gdbadmin1-1/+1
2002-11-23daily updateAlan Modra1-1/+1
2002-11-23 * Makefile.in (m68k_tdep_h): Define.Andreas Schwab12-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-232002-11-23 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-49/+6
* arm-tdep.c (arm_gdbarch_init): Remove old style non-generic dummy frame initialization code. * mips-tdep.c (mips_gdbarch_init): Ditto.
2002-11-23Fix typo describing switch for hex format.Nick Clifton2-1/+5
2002-11-23* win32-nat.c (child_attach): Reset saw_create counter or subsequent attachChristopher Faylor3-0/+7
will hang.
2002-11-232002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney16-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-232002-11-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+12
* thread-db.c (thread_db_load): Tell the user what's going on if dlopen fails on libthread_db.
2002-11-232002-11-22 Andrew Cagney <ac131313@redhat.com>Andrew Cagney36-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.
2002-11-23*** empty log message ***gdbadmin1-1/+1
2002-11-22 * m68k-tdep.c (m68k_register_virtual_type): Use architectureAndreas Schwab2-12/+18
invariant return values.
2002-11-222002-11-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-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.
2002-11-22daily updateAlan Modra1-1/+1
2002-11-222002-11-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+6
* Makefile.in (install): Make 'install' do some real work.
2002-11-22merge from gccDJ Delorie6-4/+427
2002-11-22Revert previous change --- the hour was late, and I was confused aboutJim Blandy3-75/+0
its status.
2002-11-22 * valops.c (value_slice): Move declaration of `offset' to avoidAndreas Schwab2-2/+7
warning.
2002-11-22* win32-nat.c (psapi_get_dll_name): Fix a compiler warning.Christopher Faylor4-7/+66
(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.
2002-11-22* gdb.base/step-line.exp: Check that GDB can handle filenames thatJim Blandy3-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.
2002-11-22 * gdb.base/maint.exp (help maint dump-me): Update with typo fix.Daniel Jacobowitz2-1/+5
2002-11-222002-11-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney34-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-222002-11-21 Andrew Cagney <ac131313@redhat.com>Andrew Cagney36-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.
2002-11-22 * m68k-tdep.c (m68k_register_virtual_type): Return int for SR, FPCAndreas Schwab2-7/+17
and FPS registers.
2002-11-22*** empty log message ***gdbadmin1-1/+1
2002-11-21daily updateAlan Modra1-1/+1
2002-11-21 * ld-elf/elf.exp: Remove sec64k test.Alan Modra3-128/+162
* ld-elf/sec64k.exp: Reinstate.
2002-11-21 * tui-hooks.c (tui_init_hook): Don't enable the TUI if a specificStephane Carrez2-0/+9
interpreter is installed.
2002-11-21 * maint.c (_initialize_maint_cmds): Fix typo. FromDaniel Jacobowitz2-1/+6
Francesco Potorti` <pot@gnu.org>.
2002-11-21 * config/tc-hppa.h (tc_frob_symbol): Frob undefined unused symbolsDave Anglin2-1/+7
only if they have default visibility.
2002-11-21 * config/tc-alpha.c (alpha_fix_adjustable): Remove redundantRichard Henderson2-1/+6
S_IS_DEFINED test.
2002-11-212002-11-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-38/+11
* mips-tdep.c (mips_dump_tdep): Delete references to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. * config/mips/tm-mips.h (GDB_TARGET_MASK_DISAS_PC): Delete macro. (GDB_TARGET_UNMASK_DISAS_PC): Delete macro. * printcmd.c (build_address_symbolic): Delete calls to GDB_TARGET_UNMASK_DISAS_PC and GDB_TARGET_MASK_DISAS_PC. (address_info): Ditto. Fix PR gdb/773.
2002-11-21 * elflink.h (elf_link_add_object_symbols): Don't overwrite theRichard Henderson2-15/+18
arch's st_other bits when merging visibilities. (elf_link_output_extsym): Tidy clearing of visibility field.
2002-11-21 * ld-elf/elf.exp: Renamed from sec64k.exp. Add test_list loop.Alan Modra5-4/+55
* ld-elf/merge.s: New file. * ld-elf/merge.d: New file. * ld-elf/merge.ld: New file.
2002-11-21 * coff-mcore.c (SWAP_IN_RELOC_OFFSET): Define.Alan Modra2-0/+10
(SWAP_OUT_RELOC_OFFSET): Define.
2002-11-21 * config/tc-mcore.c (mcore_pool_count): New function.Alan Modra2-98/+65
(mcore_cons, mcore_float_cons, mcore_stringer, mcore_fill): Use it.
2002-11-212002-11-20 Klee Dienes <kdienes@apple.com>Klee Dienes3-17/+15
* config/tc-mcore.c (md_begin): Use a const iterator. Don't coalesce the name fields to use the same pointer. * config/tc-sh.c (md_begin): Use a const iterator. Don't coalesce the name fields to use the same pointer. (get_specific): Check for opcodes with the same name using strcmp as well as comparing the pointer.
2002-11-21*** empty log message ***gdbadmin1-1/+1
2002-11-20daily updateAlan Modra1-1/+1
2002-11-20* elf.c (_bfd_elf_link_hash_table_init): Make sureAlexandre Oliva2-1/+10
can_refcount is properly extended to the type of init_refcount.
2002-11-20 * linux-s390-low.c (s390_regmap): Check GPR_SIZE instead ofDaniel Jacobowitz2-1/+7
defined(PT_FPR0_HI).
2002-11-20 * write.c (adjust_reloc_syms): Don't reduce SEC_MERGE fixups withAlan Modra2-1/+7
fx_subsy non-NULL.