aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
2002-12-16Remove obsolete testsuite code.Andrew Cagney78-7572/+47
2002-12-16 * hppa-hpux-tdep.c: New file.Joel Brobecker5-3/+54
* hppa-tdep.c (hppa_gdbarch_init): call the registered osabi- specific initialization routines. * Makefile.in (ALLDEPFILES): Add hppa-hpux-tdep.c. (hppa-hpux-tdep.o): Add rule. * config/pa/hppahpux.mt (TDEPFILES): Add hppa-hpux-tdep.o. * config/pa/hppa64.mt (TDEPFILES): Likewise.
2002-12-16*** empty log message ***gdbadmin1-1/+1
2002-12-15 * infrun.c (handle_inferior_event): Rearrange code to resume ifDaniel Jacobowitz2-47/+22
no catchpoint triggers for an event.
2002-12-15 * infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKEDDaniel Jacobowitz2-51/+6
and TARGET_WAITKIND_VFORKED cases.
2002-12-15 * infrun.c (handle_inferior_event): Assume that catchpointsDaniel Jacobowitz2-33/+32
are not affected by DECR_PC_AFTER_BREAK.
2002-12-15 * target.c (update_current_target): Don't inherit DONT_USE.Daniel Jacobowitz3-8/+6
* target.h (struct target_ops): Remove DONT_USE. (target_next): Remove macro.
2002-12-15* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654.Mark Kettenis2-1/+5
2002-12-15*** empty log message ***gdbadmin1-1/+1
2002-12-14* arm-tdep.c (convert_from_extended): New argument to hold theRichard Earnshaw2-23/+147
type of floating point result we want to convert to. Make input argument const. Fix all callers. (convert_to_extended): Similarly. (arm_extract_return_value): Now takes a regcache argument. Change code to use regcache accessor functions. Correctly extract smaller-than-word results on big-endian machines. (arm_store_return_value): Now takes a regcache argument. Change code to use regcache accessor functions. Correctly zero/sign extend smaller than word results before storing into r0. (arm_gdbarch_init): Register new-style extract_return_value and store_return_value functions.
2002-12-14*** empty log message ***gdbadmin1-1/+1
2002-12-132002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>Michael Snyder2-5/+17
* thread-db.c (thread_from_lwp): Uniquify error msg. (lwp_from_thread): Ditto. (check_event): Ditto. (find_new_threads_callback): Ditto. (thread_db_pid_to_str): Ditto.
2002-12-132002-12-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-2/+22
* frame.h (get_frame_saved_regs): Declare. (frame_saved_regs_zalloc): Change return type to CORE_ADDR pointer. * frame.c (get_frame_saved_regs): New function. (frame_saved_regs_zalloc): Return the allocated saved_regs.
2002-12-132002-12-13 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-2/+30
* frame.c (deprecated_update_current_frame_pc_hack): New function. * frame.h (deprecated_update_current_frame_pc_hack): Declare. * infrun.c (normal_stop): Use said function instead of directly modifying the frame's PC.
2002-12-13* frame.h (frame_id_unwind_ftype): Fix typo in return type.Alexandre Oliva2-2/+6
2002-12-13Multiarch NUM_REGS for MIPS.Kevin Buettner5-17/+24
2002-12-132002-12-13 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-7/+85
* mi-basics.exp: Change tests for -environment-directory. Also add tests for -environment-cd, -environment-pwd, and -environment-path. Part of fix for PR gdb/741.