aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-02-19 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.Jonathan Larmour2-2/+7
(save_prologue_cache): Ditto.
2001-02-192001-02-19 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+10
From Drew Moseley <dmoseley@redhat.com> * gdb.base/ending-run.exp: Properly handle the BSP state when stepping past the end of main.
2001-02-192001-02-19 John Moore <jmoore@redhat.com>Michael Chastain2-18/+12
* gdb.base/commands.exp (infrun_breakpoint_command_test): Converted HPUX fix for non-expected items following multiple step commands into general solution for all platforms.
2001-02-192001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+7
From: innadadadavida@yahoo.com: * partial-stab.h (switch): Check that pst is not null before dereferencing it.
2001-02-192001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-2/+8
From Andrew Cagney <cagney@b1.cygnus.com>: * symfile.c (add_symbol_file_command): Always initialize my_cleanup using a NULL cleanup.
2001-02-19 * demangle.c (demangling_style_names): New variable.Eli Zaretskii10-42/+115
(_initialize_demangler): Fill demangling_style_names with the names of known demangling styles from libiberty_demanglers[]. Use add_set_enum_cmd instead of add_set_cmd, to get completion on demangling style names. * proc-api.c (_initialize_proc_api): Make `procfs-file' use file-name completion. * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'. * solib.c (_initialize_solib): Ditto for `solib-search-path' and `solib-absolute-prefix'. * tracepoint.c (_initialize_tracepoint): Ditto for `save-tracepoints'. * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'. * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use file-name completion. * infcmd.c (_initialize_infcmd): Make the following commands use the file-name completer: `tty', `args', `path', `paths', and `run'.
2001-02-182001-02-18 Michael Chastain <chastain@redhat.com>Michael Chastain3-5/+13
* gdb.c++/classes.exp (do_tests): Change runto statements from "runto 'foo(void)'" to "runto 'foo'". This makes the statements demangler agnostic. * gdb.c++/virtfunc.exp (do_tests): Likewise. (gdb_virtfunc_restart): Likewise.
2001-02-18 * go32-nat.c: Include i387-nat.h.Eli Zaretskii4-58/+40
(fetch_register): New function, uses some of the guts of go32_fetch_registers and i387_supply_register. (go32_fetch_registers): Most of the code moved into fetch_register. Use i387_supply_fsave. (store_register): Use i387_fill_fsave instead of custom code. (go32_store_registers): Use i387_fill_fsave. * Makefile.in (go32-nat.o): Depend on i387-nat.h. * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
2001-02-182001-02-14 Michael Chastain <chastain@redhat.com>Michael Chastain2-3/+9
* gdb.c++/inherit.exp (do_tests): Change runto statements from "runto 'foo(void)'" to "runto 'foo'". This makes the statements demangler agnostic.
2001-02-18 * completer.c (gdb_completer_file_name_break_characters): RemoveEli Zaretskii2-7/+46
slash from file-name break characters. [__MSDOS__]: Special definition for DOS/Windows file names. (line_completion_function): When completing on file names, bump `p' to the first file-name constituent character of `word', before invoking the completer.
2001-02-17* i387-nat.c: Include "i387-nat.h". Use regnum instead of regnoMark Kettenis3-39/+65
consistently for parameter names. Fix comments accordingly. (i387_supply_register): New function. (i387_supply_fsave): Implement using i387_supply_register. * i387-nat.h: Use regnum instead of regno consistently for parameter names. Fix comments accordingly. (i387_supply_register): New prototype.
2001-02-162001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>Michael Snyder2-1/+7
* remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT instead of TARGET_PTR_BIT (to support Harvard architectures).
2001-02-16From Paul Hilfinger. Add attribs param to hpux_thread_xfer_memory.Andrew Cagney2-2/+11
2001-02-16Move hardware stuff to not 5.1 - changelog already committed.Andrew Cagney1-20/+20
2001-02-16Obvious fix.Michael Chastain1-1/+1
I wrote "gdb/somsolib.c" in ChangeLog. Should be "somsolib.c".
2001-02-162001-02-12 Michael Chastain <chastain@redhat.com>Michael Chastain2-6/+29
* gdb/somsolib.c (som_solib_add_solib_objfile): Do not use section relocation feature of syms_from_objfile. Do my own section relocation, offsetting each section of the som by either text_addr - text_link_addr or data_start.
2001-02-16Move hardware bug out of 5.1Andrew Cagney1-0/+4
2001-02-16Update paper trail list.Andrew Cagney2-4/+11
2001-02-16* target.h (target_fetch_registers): Fix comment.Mark Kettenis2-1/+5
2001-02-16Simplify code parsing integers and, in process fix a -Wuninitialized warning.Andrew Cagney2-16/+21
2001-02-15Make thread messages more consistent in pass/fail cases.Andrew Cagney2-6/+19
2001-02-15* MAINTAINERS: Add myself to paper trail section.Jim Kingdon2-3/+8
2001-02-142001-02-11 Michael Chastain <chastain@redhat.com>Michael Chastain3-161/+428
* gdb.c++/cplusfuncs.cc (dm_type_char_star): New function. Helps the test script figure out which demangler is in use. (dm_type_foo_ref): Ditto. (dm_type_int_star): Ditto. (dm_type_long_star): Ditto. (dm_type_unsigned_int): Ditto. (dm_type_void): Ditto. (dm_type_void_star): Ditto. * gdb.base/cplusfuncs.exp (probe_demangler): New function. Probe the gdb demangler and set variables to accommodate formatting differences. (info_func_regexp): New function. Same as info_func, but matches against a regexp. (info_func): Match against a literal string. (print_addr_2): New function. Match against a literal string, which can be different from the input to gdb. (print_addr): Simply call print_addr_2 with the same argument twice. (test_lookup_operator_functions): Use demangler formatting variables. Blow away the xfails and workarounds for gnats gdb bug gdb/18. Sort the tests in the same order as the C++ class declaration. (test_paddr_operator_functions): Ditto. (test_paddr_overloaded_functions): Ditto. (test_paddr_hairy_functions): Use demangler formatting variables. Add reference to gdb/19 for related tests. (do_tests): Call probe_demangler.
2001-02-14 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.Michael Sokolov5-4/+17
* configure, config.in: Regenerate. * corelow.c: Include <sys/file.h> if present.
2001-02-14* inflow.c (terminal_ours_1): Initialize ``osigtou''. OnlyAndrew Cagney2-1/+8
declare when have SIGTTOU.
2001-02-14Add entries for gdb/gdbtk/*/ChangeLog-*.Eli Zaretskii2-0/+14
2001-02-13* MAINTAINERS: Update my email address.Jim Kingdon2-2/+6
2001-02-11 * gdb.texinfo (Environment): Document that `path' does not changeEli Zaretskii2-1/+7
the value of PATH in GDB's own environment (it did in the past, but that was changed on March 15, 1994). Reported by Doug Evans <dje@transmeta.com>.
2001-02-11 * NEWS: Document that "info symbol" works with COFF debug info andEli Zaretskii3-0/+14
its variants. * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip symbols whose SYMBOL_BFD_SECTION is NULL.
2001-02-11 * gdbint.texinfo: Fix up @itemize lists so that @item is alone onEli Zaretskii2-617/+982
its line. Fix markup of commands. Add an index and index entries.
2001-02-10 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.Peter Schauer4-39/+39
* xcoffsolib.c (xcoff_solib_address): Renamed from pc_load_segment_name. Return NULL if address is not in a shared library. Cleanup shared library name construction, using xasprintf. Format shared library member names consistent with format in exec.c. (solib_info): Format shared library member names consistent with format in exec.c. * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB, using xcoff_solib_address for PC_SOLIB definition. * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer needed.
2001-02-10 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca callsPeter Schauer2-5/+17
with xmalloc calls and cleanups.
2001-02-10 * rs6000-nat.c (child_xfer_memory): Add missing parameterPeter Schauer2-1/+7
'struct mem_attrib *' required by 2001-01-23 change.
2001-02-09 Updates to "make TAGS":Jim Kingdon2-6/+13
* Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c tahoe-tdep.c. (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
2001-02-08 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".Eli Zaretskii2-1/+5
2001-02-08From Dean Luick <luick@cray.com>:Andrew Cagney2-1/+5
* defs.h (continuation): Remove unused global variable.
2001-02-08Remove configurations marked as obsolete in 5.0.Andrew Cagney34-6168/+50
2001-02-08Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney66-430/+839
internal_verror().
2001-02-08From Mark Kettenis, include <signal.h>.Andrew Cagney2-1/+7
2001-02-07Fix printf fmt of long in remote-sim.c.Andrew Cagney3-2/+9
mn10300-elf now buildable.
2001-02-07* event-top.c: Remove duplicate #include <signal.h>.Mark Kettenis2-2/+4
2001-02-07* sol-thread.c (restore_inferior_pid): Save the PID in a freshlyAndrew Cagney3-6/+21
allocated buffer. (save_inferior_pid): Restore the PID from that tempoary buffer. Delete the buffer. * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
2001-02-07* MAINTAINERS: Add ``The Obvious Fix Rule''.Andrew Cagney2-0/+18
2001-02-07Add Michael Synder to Solaris/SPARC list.Andrew Cagney2-2/+7
2001-02-07Addd set_gdbarch_data() method. Update register_gdbarch_data() interface.Andrew Cagney4-50/+203
2001-02-06 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: CallMichael Sokolov2-1/+6
fprintf_filtered with correct arguments.
2001-02-062001-02-06 Michael Snyder <msnyder@makita.cygnus.com>Michael Snyder8-14/+30
Submitted by Paul Hilfinger (hilfingr@gnat.com) and Andrei Petrov (and@genesyslab.com). * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES must be allocated dynamically, since these are no longer constants. * infcmd.c: Ditto. * regcache.c: Ditto. * remote.c: Ditto. * sol-thread.c: Ditto. * valops.c: Ditto. * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a work-around for a missing Sun header file in solaris for sparc64.
2001-02-062001-02-04 Philip Blundell <philb@gnu.org>Phil Blundell4-6/+34
* config/arm/linux.mh (NATDEPFILES): Add proc-service.o, thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o. * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP, GET_THREAD_SIGNALS): Define. * arm-linux-nat.c (fill_gregset): Correct type of argument. (supply_gregset): Likewise. (fill_fpregset): Likewise. (supply_fpregset): Likewise.
2001-02-06 * valops.c (value_cast): If casting a scalar to a pointer, do notDavid Taylor2-4/+26
issue a message about truncation unless it exceeds the length of an address, not the length of a pointer. This is because what the user gives us is an address, not a pointer, and we will ultimately convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it to a pointer. This allows things like "print *(int *)0x01000234" to work without generating a misleading message on a target having two byte pointers and four byte addresses.
2001-02-06Fix spacing.Christopher Faylor2-2/+2