aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-12-28*** empty log message ***gdbadmin1-1/+1
2002-12-27*** empty log message ***gdbadmin1-1/+1
2002-12-26 Continuing work to convert the hppa targets to multiarch partil.Joel Brobecker3-60/+308
* hppa-tdep.c: Add some missing forward declarations. (frameless_function_invocation): Prefix the function name by "hppa_" to avoid polluting the namespace. Update all calls to use the new function name. (saved_pc_after_call): Ditto. (init_extra_frame_info): Ditto. (frame_chain): Ditto. (push_dummy_frame): Ditto. (target_read_pc): Ditto. (target_write_pc): Ditto. (in_solib_call_trampoline): Ditto. (in_solib_return_trampoline): Ditto. (skip_trampoline_code): Ditto. (hppa_read_fp): New function, renamed from target_read_fp. (hppa_target_read_fp): New function, using hppa_read_fp. This function conforms to the function profile for the READ_FP gdbarch method. (hppa_extract_struct_value_address): New function, extracted from the definition of the DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS macro. (hppa_frame_num_args): New function. (hppa_gdbarch_init): Setup the gdbarch vector for the hppa target. * config/pa/tm-hppa.h: Wrap around all gdbarch-eligible macros inside "#if !GDB_MULTI_ARCH ... #endif" conditional, in preparation for the switch to multiarch partial. Update some of the macros definitions to match some changes described above in the name of the function they are calling. (PUSH_DUMMY_FRAME): Add a FIXME explaining why this macro will not be straightforward to convert. Do now wrap it inside "#if !... #endif" to remember that this macro has still not been taken care of. (FIX_CALL_DUMMY): Likewise.
2002-12-26 Continuing work to convert the hppa targets to multiarch partial.Joel Brobecker6-40/+116
* hppa-tdep.c: (hppa_register_raw_size): New function replacing the body of macro REGISTER_RAW_SIZE. * hppa-hpux-tdep.c: Add new functions replacing macro bodies from config/pa/tm-hppah.h. These functions will be used to initialize the gdbarch structure. (hppa_hpux_pc_in_sigtramp): New function. (hppa_hpux_frame_saved_pc_in_sigtramp): New function. (hppa_hpux_frame_base_before_sigtramp): New function. (hppa_hpux_frame_find_saved_regs_in_sigtramp): New function. Add gdbcore.h #include. * config/pa/tm-hppa.h (REGISTER_RAW_SIZE): Change the definition of this gdbarch-eligible macro to a call to the new associated function. * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Likewise. (FRAME_SAVED_PC_IN_SIGTRAMP): Change the definition of this macro into a call to the new associated function. (FRAME_BASE_BEFORE_SIGTRAMP): Likewise. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Likewise. * Makefile.in (hppa-hpux-tdep.o): Add dependency on gdbcore.h.
2002-12-26*** empty log message ***gdbadmin1-1/+1
2002-12-25*** empty log message ***gdbadmin1-1/+1
2002-12-242002-12-24 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+5
* config/sparc/tm-sparc.h: Delete duplicate definition of DEPRECATED_PC_IN_CALL_DUMMY.
2002-12-24Add GNU/Linux specific support for the n32 and n64 MIPS ABIs.Kevin Buettner6-41/+478
2002-12-24gdb.base/maint.exp: Update expect output to include 'ObjC'.Adam Fedor2-3/+7
2002-12-24maint.c (maintenance_demangle): Add switch to demangleAdam Fedor2-3/+18
ObjC language symbols as well.
2002-12-24(lookup_objc_class, lookup_child_selector): RemoveAdam Fedor2-4/+7
last argument from complaint function call.
2002-12-24*** empty log message ***gdbadmin1-1/+1
2002-12-23 * exec.c (print_section_info): Add FIXME comments regarding formatKevin Buettner2-0/+12
string choices.
2002-12-23* gdbint.texinfo (Target Architecture Definition): UpdateMark Kettenis2-2/+10
description of gdbarch_register_osabi.
2002-12-23 * config/pa/nm-hppab.h: Delete duplicate CANNOT_STORE_REGISTER decl.Daniel Jacobowitz4-45/+12
* config/pa/nm-hppao.h: Delete duplicate CANNOT_STORE_REGISTER decl. * config/pa/nm-hppah.h: Delete duplicate CANNOT_STORE_REGISTER decl.
2002-12-232002-12-23 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+17
* gdb.base/selftest.exp (do_steps_and_nexts): Allow initial brace and current_directory initialization.
2002-12-232002-12-23 David Carlton <carlton@math.stanford.edu>David Carlton2-28/+46
* symtab.c (lookup_symbol_aux): Delete 'force_return' variable. (lookup_symbol_aux_minsyms): Delete 'force_return' argument. (search_symbols): Call lookup_symbol_aux_minsyms to find debugging information associated to a minsym, not lookup_symbol.
2002-12-23* gdb.trace/tfind.exp: Pass '-O1' flag via the 'optimize' option,Jim Blandy2-2/+10
rather than as part of the output file name.
2002-12-23*** empty log message ***gdbadmin1-1/+1
2002-12-22* gdb.base/attach.exp: There's no need to copy the test program toJim Blandy2-31/+6
/tmp; that was only ever necessary on HP/UX, and this test is entirely disabled there anyway.
2002-12-22* gdb.c++/psmang.exp: Doc fix.Jim Blandy2-0/+12
2002-12-22*** empty log message ***gdbadmin1-1/+1
2002-12-21* gdb.c++/psmang.exp, gdb.c++/psmang1.cc, gdb.c++/psmang2.cc: NewJim Blandy4-0/+532
test.
2002-12-21* x86-64-tdep.h (x86_64_init_abi): New prototype.Mark Kettenis5-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.
2002-12-21* osabi.c: Include "gdb_assert.h" and "gdb_string.h".Mark Kettenis28-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.
2002-12-21Add DT_MIPS_RLD_MAP case for 64-bit targets.Kevin Buettner2-3/+23
2002-12-21Fix bug introduced when multiarching NUM_REGS.Kevin Buettner2-1/+7
2002-12-21Multiarch SVR4_FETCH_LINK_MAP_OFFSETS and GET_LONGJMP_TARGET for GNU/Linux/MIPS.Kevin Buettner4-22/+32
2002-12-21*** empty log message ***gdbadmin1-1/+1
2002-12-202002-12-20 David Carlton <carlton@math.stanford.edu>David Carlton2-0/+5
* gdb.c++/annota2.exp: KFAIL annotate-quit.
2002-12-20 * agentexpr.texi: Fix typos.Kazu Hirata4-8/+14
* annotate.texi: Likewise. * fdl.texi: Likewise.
2002-12-202002-12-19 Keith Seitz <keiths@redhat.com>Elena Zannoni2-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.
2002-12-20*** empty log message ***gdbadmin1-1/+1
2002-12-19Remove outdated FIXME comment.Kevin Buettner1-1/+0
2002-12-192002-12-19 David Carlton <carlton@math.stanford.edu>David Carlton2-71/+102
* linespec.c (decode_line_1): Move code into decode_all_digits. (decode_all_digits): New function.
2002-12-19 * exec.c (print_section_info): Select a format string to use withKevin Buettner2-3/+9
local_hex_string_custom() based upon the value of TARGET_ADDR_BIT.
2002-12-192002-12-18 Michael Chastain <mec@shout.net>Michael Chastain2-1/+5
* gdb.c++/annota2.exp: Add copyright year 2002.
2002-12-19*** empty log message ***gdbadmin1-1/+1
2002-12-182002-12-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-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-182002-12-18 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-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.
2002-12-18*** empty log message ***gdbadmin1-1/+1
2002-12-172002-12-17 David Carlton <carlton@math.stanford.edu>David Carlton6-151/+140
* gdb.c++/try_catch.cc: Add marker comments. * gdb.c++/try_catch.exp: Get line numbers from marker comments. * gdb.c++/m-data.cc: Delete namespace __gnu_test. * gdb.c++/m-static.cc: Ditto. * gdb.c++/m-static1.cc: Ditto. * gdb.c++/try_catch.cc: Ditto.
2002-12-17Don't use NUM_REGS to determine array size.Kevin Buettner2-3/+24
2002-12-17* armnbsd-tdep.c (ARM_NBSD_JB_PC): Renamed from JB_PC.Richard Earnshaw2-4/+10
All uses changed (ARM_NBSD_JB_ELELMENT_SIZE): Similarly.
2002-12-172002-12-17 David Carlton <carlton@math.stanford.edu>David Carlton2-2/+8
* symtab.c (lookup_partial_symbol): Don't search past the end of the partial symbols.
2002-12-172002-12-17 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-3/+8
* stack.c (frame_info): Use get_frame_saved_regs. * breakpoint.c (until_break_command): Use get_frame_pc.
2002-12-17Replace complain() with complaint().Kevin Buettner15-717/+644
2002-12-17*** empty log message ***gdbadmin1-1/+1
2002-12-162002-12-16 Andrew Cagney <ac131313@redhat.com>Andrew Cagney73-21275/+35
* config/arc/arc.mt, config/arc/tm-arc.h: Delete. * config/d30v/d30v.mt, config/d30v/tm-d30v.h: Delete. * config/fr30/fr30.mt, config/fr30/tm-fr30.h: Delete. * config/i386/i386aix.mh, config/i386/i386aix.mt: Delete. * config/i386/i386m3.mh, config/i386/i386m3.mt: Delete. * config/i386/i386mach.mh, config/i386/i386os9k.mt: Delete. * config/i386/nm-i386aix.h, config/i386/nm-i386mach.h: Delete. * config/i386/nm-m3.h, config/i386/tm-i386aix.h: Delete. * config/i386/tm-i386m3.h, config/i386/tm-i386mk.h: Delete. * config/i386/xm-i386aix.h, config/i386/xm-i386m3.h: Delete. * config/i386/xm-i386mach.h, config/i386/xm-i386mk.h: Delete. * config/i960/mon960.mt, config/i960/nindy960.mt: Delete. * config/i960/tm-i960.h, config/i960/tm-mon960.h: Delete. * config/i960/tm-nindy960.h, config/i960/tm-vx960.h: Delete. * config/i960/vxworks960.mt, config/m68k/apollo68b.mh: Delete. * config/m68k/apollo68b.mt, config/m68k/apollo68v.mh: Delete. * config/m68k/hp300bsd.mh, config/m68k/hp300bsd.mt: Delete. * config/m68k/hp300hpux.mh, config/m68k/hp300hpux.mt: Delete. * config/m88k/delta88.mh, config/m88k/delta88.mt: Delete. * config/m88k/delta88v4.mh, config/m88k/delta88v4.mt: Delete. * config/m88k/m88k.mh, config/m88k/m88k.mt: Delete. * config/m88k/nm-delta88v4.h, config/m88k/nm-m88k.h: Delete. * config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h: Delete. * config/m88k/tm-m88k.h, config/m88k/xm-delta88.h: Delete. * config/m88k/xm-dgux.h: Delete. * fr30-tdep.c, i386aix-nat.c, i386m3-nat.c: Delete. * i386mach-nat.c, i960-tdep.c, m88k-nat.c: Delete. * os9kread.c, remote-bug.c, remote-nindy.c: Delete. * remote-nrom.c, remote-os9k.c, remote-vx960.c: Delete. * d30v-tdep.c, arc-tdep.c, cxux-nat.c, dst.h, dstread.c: Delete. * ch-exp.c, ch-lang.c, ch-lang.h, ch-typeprint.c: Delete. * ch-valprint.c: Delete.
2002-12-162002-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-3/+20
* lib/mi-support.exp (mi_reinitialize_dir): Check mi level to see whether we are using the new -environment-directory command which resets via -r or the old version of the command which may prompt the user. Part of fix for gdb/741.