aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-05-012001-05-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-14/+24
* lin-lwp.c: Change printf to fprintf_unfiltered.
2001-05-012001-05-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+14
* Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
2001-05-01 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.Nicholas Duffek4-23/+96
(rs6000_in_solib_return_trampoline): Declare. * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New function. (rs6000_skip_trampoline_code): Skip bigtoc fixup code. * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function check after the CSECT check rather than before it. Allocate separate symtabs for CSECTs whose names begin with '@'. (scan_xcoff_symtab): Don't ignore symbols beginning with '@'. Activate the misc_func_recorded mechanism for whose names begin with '@'.
2001-05-01*** empty log message ***Eli Zaretskii1-0/+10
2001-04-30* ppcnbsd-nat.c (fetch_inferior_registers)J.T. Conklin2-3/+9
(store_inferior_registers, fetch_core_registers): Changed to use fpreg[] instead of r_regs[] to access floating point registers.
2001-04-302001-04-30 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-96/+36
* sh-tdep.c: Get rid of the function prototypes. (sh_sh4_build_float_register_type): Move earlier in file. (fv_reg_base_num): Ditto. (dr_reg_base_num): Ditto.
2001-04-302001-04-30 Michael Snyder <msnyder@redhat.com>Michael Snyder2-34/+42
* thread-db.c: Revert 2001-04-26 change for debugging output. * lin-lwp.c: Ditto. * lin-lwp.c: Add set/show debug lin-lwp command. Use this command to turn extra debugging output on / off.
2001-04-302001-04-30 Michael Snyder <msnyder@redhat.com>Michael Snyder3-45/+47
* thread-db.c: Revert 2001-04-26 change for debugging output. * lin-lwp.c: Ditto.
2001-04-30Always initialize `p'.Andrew Cagney2-0/+6
2001-04-30 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.Eli Zaretskii2-3/+5
(top-level): #include filenames.h. * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and FILENAME_CMP, to DTRT on non-Posix platforms. (top-level): #include filenames.h.
2001-04-27Zap romp host.Andrew Cagney3-6/+5
2001-04-27All 5.1 obsolete targets are done.Andrew Cagney2-60/+4
2001-04-27 (Changes from Kevin Buettner, with minor update by Don Howard.)Don Howard2-14/+22
* i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix typos in which hexadecimal constants were really intended to be binary constants. (i387_tag): Swap logic regarding zero vs non-zero exponents.
2001-04-27Added myself to the write-after-approval list.Don Howard1-0/+5
2001-04-27Added myself to the write-after-approval list.Don Howard1-0/+1
2001-04-27(Changes from Daniel Berlin, with revisions by Jim Blandy.)Jim Blandy19-478/+972
Abstract out operations specific to particular C++ ABI's, and invoke them through a function table. This removes the C++ ABI dependencies scattered throughout the code, and allows us to cleanly add support for new C++ ABI's. * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files. * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c, jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c: #include "cp-abi.h". These files all use functions now declared there. * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P): Deleted. These services are now provided by functions declared in cp-abi.h. * value.h (value_rtti_type, value_virtual_fn_field): Same. * values.c (value_virtual_fn_field): Same, for this definition. * valops.c (value_rtti_type): Same. * c-typeprint.c (c_type_print_base): Use the functions from "cp-abi.h", instead of the old macros, or hard-coded ABI-specific tests. * dbxread.c (record_minimal_symbol): Same. * gdbtypes.c (get_destructor_fn_field, virtual_base_index, virtual_base_index_skip_primaries): Same. * jv-typeprint.c (java_type_print_base): Same. * linespec.c (find_methods, decode_line_1): Same. * symtab.c (gdb_mangle_name): Same. * Makefile.in (SFILES): Add the new .c files mentioned above. (cp_abi_h): New variable. (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o. (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets. (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o, jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add dependency on $(cp_abi_h).
2001-04-262001-04-26 Michael Snyder <msnyder@redhat.com>Michael Snyder3-42/+49
* thread-db.c (_initialize_thread_db): Add set/show command "debug-linux-threads" for debugging output. * lin-lwp.c (various): Use global "debug_linux_threads to turn on extra debugging output.
2001-04-262001-04-26 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+7
* lin-lwp.c: Minor cleanups in comments.
2001-04-262001-04-26 Michael Snyder <msnyder@redhat.com>Michael Snyder3-5/+19
* target.c (normal_pid_to_str): Get rid of an ancient hack. * remote.c (remote_pid_to_str): New function for remote target.
2001-04-24* c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'Jim Blandy2-1/+10
qualifier on C++ references; all references are innately const.
2001-04-24* gdb.c++/templates.exp: If we see the prompt for the overloadJim Blandy2-0/+5
list, but we haven't recognized any of the longer patterns, arrange for this test to fail, not hang.
2001-04-24* gdb.c++/classes.exp (ptype class A): Tolerate whitespaceJim Blandy2-1/+6
variations.
2001-04-232001-04-22 Michael Chastain <chastain@redhat.com>Michael Chastain4-54/+26
* gdb.c++/local.exp: Use the 'runto' library function. * gdb.c++/namespace.exp: Likewise. * gdb.c++/overload.exp: Likewise.
2001-04-20* event-top.h: Fix formatting.Mark Kettenis2-17/+24
2001-04-19Obsolete MPW as host.Andrew Cagney14-1706/+1725
2001-04-19* i386-tdep.c (i386_frameless_function_invocation): New function.Mark Kettenis3-5/+26
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine in terms of i386_frameless_function_invocation. Adjust comment. (i386_frameless_function_invocation): New prototype.
2001-04-192001-04-18 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-12/+19
* top.c (gdb_init): Don't call cli_out_new() to create global uiout if init_ui_hook is set. uiout will have to be initialized there.
2001-04-19#include "regcache.h".Andrew Cagney2-0/+5
2001-04-182001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+2
* i386-nat.c: Fix typo in comment.
2001-04-17Fix thinko.Michael Snyder1-1/+1
2001-04-172001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+15
* solib.c (no_shared_libraries): New function. Discard all symbols from shared libraries. (_initialize_solib): Add command "nosharedlibrary" as complement to the command "sharedlibrary". Unloads symbols for all solibs.
2001-04-17* i386-tdep.c (i386_saved_pc_after_call): New function.Mark Kettenis3-5/+18
* config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms of i386_saved_pc_after_call. (i386_saved_pc_after_call): New prototype.
2001-04-17Obsolete NEWS and ISI systems (along with a few redundant m68k targets).Andrew Cagney20-629/+661
2001-04-172001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+29
* remote.c (remote_open_1): On opening the remote target, activate the solib_create_inferior_hook, so that it can detect when the target loads shared libraries. (remote_async_open_1): Ditto.
2001-04-172001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder7-31/+77
* breakpoint.c (print_one_breakpoint): Handle 64-bit addresses. * tracepoint.c (tracepoints_info): Handle 64-bit addresses. * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses. * testsuite/gdb.trace/infotrace.exp: Ditto. * testsuite/gdb.trace/passcount.exp: Ditto. * testsuite/gdb.trace/while-stepping.exp: Ditto.
2001-04-172001-04-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2-2/+8
* thread-db.c (check_thread_signals): When looping over all signals, ignore signal zero. (disable_thread_signals): Ditto.
2001-04-172001-04-17 Eirik Fuller <eirik@netapp.com>Michael Snyder2-1/+6
* thread.c (do_captured_thread_select): Allow the argument to the thread command to be an expression rather than a literal integer.
2001-04-17* i386-linux-tdep.c (i386_linux_saved_pc_after_call): UseMark Kettenis2-1/+6
read_memory_unsigned_integer instead of read_memory_integer.
2001-04-17 * solib-aix5.c (map_index_vs_section_name_okay): New function.Kevin Buettner2-2/+136
(aix5_relocate_main_executable): Don't use file offsets for determining corresponding sections and map file entries. Call map_index_vs_section_name_okay() to do this instead.
2001-04-17Add code to retry certain open()s.Kevin Buettner2-9/+50
2001-04-16Fix date on previous commit.Kevin Buettner1-1/+1
2001-04-16Make hw watchpoints work with both the 2.4.2 kernel and the 2.4.3 kernel.Kevin Buettner2-1/+7
2001-04-162001-04-16 Daniel Berlin <dan@cgsoftware.com>Daniel Berlin2-1/+7
* demangle.c (_initialize_demangler): Use xcalloc on the demangling_style_names, and make it a null terminated array of names, to avoid a crash.
2001-04-16* i386-tdep.c (i386_frame_chain): New function.Mark Kettenis3-11/+29
* config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of i386_frame_chain. (i386_frame_chain): New prototype.
2001-04-14* target.h (target_ops): Removed to_core_file_to_sym_file vectorJ.T. Conklin24-132/+37
function. * corelow.c (core_ops): Updated for above change. * gnu-nat.c (core_ops): Likewise. * inftarg.c (child_ops): Likewise. * monitor.c (monitor_ops): Likewise. * ppc-bdm.c (bdm_ppc_ops): Likewise. * remote-adapt.c (adapt_ops): Likewise. * remote-bug.c (bug_ops): Likewise. * remote-e7000.c (e7000_ops): Likewise. * remote-eb.c (eb_ops): Likewise. * remote-es.c (es1800_ops, es1800_child_ops): Likewise. * remote-mm.c (mm_ops): Likewise. * remote-nindy.c (nindy_ops): Likewise. * remote-nrom.c (nrom_ops): Likewise. * remote-os9k.c (rombug_ops): Likewise. * remote-rdp.c (remote_rdp_ops): Likewise. * remote-sim.c (gdbsim_ops): Likewise. * remote-st.c (st2000_ops): Likewise. * v850ice.c (v850ice_ops): Likewise. * target.c (cleanup_target): Likewise (update_current_target): Likewise. (setup_target_debug): Likewise (debug_to_core_file_to_sym_file): Removed. * corefile.c (core_file_command) [HPUXHPPA]: Removed code that sets symbol file from information obtained from the core file. * corelow.c (core_file_to_sym_file): Removed.
2001-04-132001-04-13 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-0/+10
From Adam Mirowski <Adam.Mirowski@Sun.COM> Fixed Insight on Solaris. It was not possible to debug a process because of EINTR "errors". * procfs.c: (procfs_wait): if proc_wait_for_stop() fails with EINTR, retry the call.
2001-04-12Revise way in which mappings are allocated/searched.Kevin Buettner2-27/+74
2001-04-12 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning withNicholas Duffek2-2/+13
"@".
2001-04-12 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.Kevin Buettner2-1/+5
2001-04-11Obsolete sun386i.Andrew Cagney12-519/+536