aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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
2001-02-06* win32-nat.c: Change PTR to void * throughout.Christopher Faylor3-10/+14
2001-02-06* signals.h: Removed.J.T. Conklin11-44/+28
* event-top.c (#include <signal.h>): Changed from signals.h. * inflow.c: Likewise. * mac-xdep.c: Likewise. * ser-pipe.c: Likewise. * ser-tcp.c: Likewise. * standalone.c: Likewise. * top.c: Likewise. * utils.c: Likewise. * Makefile.in: Removed signals.h from dependencies.
2001-02-06Change suggested by Dean Luick <luick@cray.com>Christopher Faylor2-2/+11
* inferior.h (step_over_calls_kind): Remove trailing comma from last enum element. (step_over_calls): Declare as extern rather than global.
2001-02-062001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-8/+78
* sh-tdep.c: Update copyright. (sh_extract_return_value): Rewrite. (sh3e_sh4_extract_return_value): New function. (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new version of the function for sh3e and sh4 CPUs.
2001-02-052001-02-05 Michael Chastain <chastain@redhat.com>Michael Chastain2-0/+6
* hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *' to conform with interface change.
2001-02-04 * config/djgpp/fnchange.lst: Tweak to make consistent with theEli Zaretskii2-9/+24
new files.
2001-02-04 * config/djgpp/djconfig.sh: Use explicit absolute file name whenEli Zaretskii2-1/+7
invoking `find'.
2001-02-04 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only ifEli Zaretskii2-0/+11
UART_FIFO_WORKS is defined. Otherwise use outportb. From Francisco Pastor <fpastor.etra-id@etra.es>
2001-02-04 * go32-nat.c (go32_xfer_memory): Make the argument list consistentEli Zaretskii2-1/+9
with target.h's to_xfer_memory member.
2001-02-02* ppc-bdm.c (#include <signal.h>): Removed.J.T. Conklin14-15/+16
* remote-array.c: Likewise. * remote-bug.c: Likewise. * remote-e7000.c: Likewise. * remote-mips.c: Likewise. * remote-os9k.c: Likewise. * remote-st.c: Likewise. * remote-udi.c: Likewise. * remote-vx29k.c: Likewise. * remote-vx68.c: Likewise. * remote-vx960.c: Likewise. * remote-vxmips.c: Likewise. * remote-vxsparc.c: Likewise.
2001-02-02Changed free() to xfree() where appropriate. Also changed Copyright toJohn R. Moore7-16/+26
include 2001.
2001-02-02* cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().John R. Moore2-2/+7
Also changed Copyright to include 2001.
2001-02-02* monitor.c (#include "gdb_wait.h"): Removed.J.T. Conklin30-58/+61
* ocd.c: Likewise. * ppc-bdm.c: Likewise. * remote-adapt.c: Likewise. * remote-array.c: Likewise. * remote-bug.c: Likewise. * remote-e7000.c: Likewise. * remote-eb.c: Likewise. * remote-es.c: Likewise. * remote-mips.c: Likewise. * remote-mm.c: Likewise. * remote-nindy.c: Likewise. * remote-os9k.c: Likewise. * remote-rdi.c: Likewise. * remote-rdp.c: Likewise. * remote-sds.c: Likewise. * remote-sim.c: Likewise. * remote-st.c: Likewise. * remote-udi.c: Likewise. * remote-vx.c: Likewise. * remote-vx29k.c: Likewise. * remote-vx68.c: Likewise. * remote-vx960.c: Likewise. * remote-vxmips.c: Likewise. * remote-vxsparc.c: Likewise. * remote.c: Likewise. * ser-pipe.c: Likewise. * ser-unix.c: Likewise. * Makefile.in: Updated dependencies. -------------------------------------------------------------------
2001-02-01v850-elf target is now building.Jonathan Larmour1-1/+1
2001-01-312001-01-31 David Smith <dsmith@redhat.com>David Smith7-12/+22
* event-loop.c: Change inclusion of string.h to gdb_string.h and updated the copyright notice. * ser-pipe.c: Ditto. * mi/mi-cmds.c: Ditto. * mi/mi-console.c: Ditto. * mi/mi-getopt.c: Ditto. * mi/mi-parse.c: Ditto.
2001-01-312001-01-31 David Smith <dsmith@redhat.com>David Smith2-0/+5
* MAINTAINERS: Add David Smith to Write After Approval list.
2001-01-31Move putchar_filtered() to utils.c.Andrew Cagney5-14/+20
2001-01-31Cleanup autoconfigury of vfork().Andrew Cagney7-203/+486
2001-01-31Replace strsave() with xstrdup().Andrew Cagney19-64/+80
2001-01-31* cli/cli-script.c (define_command): Check for a bad hook value inAndrew Cagney2-0/+6
switch statement.
2001-01-30* configure/sh/embed.mt: New file.J.T. Conklin4-2/+19
* configure/sh/linux.mt: New file. * configure/sh/sh.mt: Removed. * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets. (sh-*-*): Removed.
2001-01-30Replace blanked lines from earlier commit with comment stating thatKevin Buettner1-3/+3
the reason why the space is empty.
2001-01-30Remove unused printf() definition.Kevin Buettner2-4/+8
2001-01-30Removed files structs3.c structs3.exp.Michael Chastain2-112/+0
These were added by accident. Whoops!
2001-01-302001-01-29 Michael Chastain <chastain@redhat.com>Michael Chastain4-2/+122
* symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.
2001-01-282001-01-28 Michael Chastain <chastain@redhat.com>Michael Chastain1-428/+194
* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc to call when tests fail. It takes gdb out of the overloaded function choice menu back to the main prompt, so that the test program stays synchronized. (set_bp_overloaded): New proc to collect all the common code for setting a breakpoint on an overloaded name. Calls take_gdb_out_of_choice_menu when needed. (menu_overload1arg): New variable to collect the repeated instances of the expected menu for an overloaded name. Change the regular expression to handle changes in g++ type encoding: "void" can be either "void" or "", and "unsigned int" can be either "unsigned int" or "unsigned". (continue_to_bp_overloaded): Change regular expressions to handle changes in g++ type encoding. (no proc): Call take_gdb_out_of_choice_menu when needed. Remove redundant calls to "info break". Accept either "canceled" or "cancelled". Change regular expressions in "info break" calls to handle changes in g++ type encoding. Give all tests unique strings.
2001-01-272001-01-27 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+7
From Momchil Velikov <velco@fadata.bg> * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory attributes argument in the call to `xfer_memory'.
2001-01-27* win32-nat.c (child_xfer_memory): Add missing argument required by 2001-01-23Christopher Faylor3-2/+9
change.
2001-01-27* ui-out.c (do_list_end): New function.Mark Kettenis4-2/+31
(make_cleanup_ui_out_list_end): New function. * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end. * stack.c (print_frame) [UI_OUT]: Call make_cleanup_ui_out_list_end to make sure we mark the end of the list if we do a non-local exit. At the end of the function, instead of calling ui_out_list_end directly, let do_cleanups handle it.
2001-01-272001-01-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser14-71/+183
Fix double parsing of filenames passed as command line arguments to GDB (causes weird handling of escape characters). Also, remove dependencies on the CLI from libgdb. * call-cmds.h: Remove declaration of exec_file_command(). * gdbcore.h: Remove declaration of exec_file_command(). Add declarations for exec_open() and exec_file_clear(). * symfile.h: Add declarations for symbol_file_add_main() and symbol_file_clear(). * exec.c (exec_open): New function. Implements to_open for exec targets. (exec_file_clear): New function. Makes GDB forget about a previously specified executable file. (exec_file_attach): Move parsing of arguments from here ... (exec_file_command): ... to here. (init_exec_ops): Use exec_open(), not exec_file_command() to implement to_open for exec targets. * symfile.c (symbol_file_add_main): New function. Call symbol_file_add() with default values. Used when the file name has already been parsed. (symbol_file_clear): New function. Makes GDB forget about previously read symbols. (symbol_file_command): Call the above function instead of inline code. * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated "call-cmds.h". (captured_main): Call exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). (captured_main): Add comment. * corefile.c: Include "symfile.h". (core_file_command): Call symbol_file_add_main() instead of symbol_file_command(). (reopen_exec_file): Call exec_open() instead of exec_file_command(). * infcmd.c: Include "symfile.h". (attach_command): Call symbol_file_add_main() instead of symbol_file_command(). * infrun.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (follow_exec): Call symbol_file_add_main() instead of symbol_file_command(). * remote-es.c: Include "symfile.h". (es1800_load): Call symbol_file_add_main() instead of symbol_file_command(). * remote-vx.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (vx-wait): Call symbol_file_add_main() instead of symbol_file_command(). * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main() instead of symbol_file_command(). * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). * Makefile.in: Update dependencies.
2001-01-262001-01-24 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb12-33/+29
* remote-udi.c (udi_open): Change strdup to xstrdup. * thread.c (thread_apply_all_command): Change strdup to xstrdup. Update copyright message. * varobj.c (delete_variable_1): Likewise. * gdb_string.h: Remove declaration of strdup. Update copyright message. * config/xm-mpw.h: Likewise. * config/i386/xm-i386mach.h: Likewise. * config/m68k/xm-apollo68b.h: Likewise. * config/m68k/xm-hp300bsd.h: Likewise. * config/rs6000/xm-rs6000.h: Likewise. * config/vax/xm-vaxult.h: Remove declaration of strdup. * config/vax/xm-vaxult2.h: Likewise.
2001-01-262001-01-26 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-0/+5
* MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
2001-01-26* target.c (target_xfer_memory_partial): Return -1 on failure dueJ.T. Conklin2-2/+7
to invalid access mode attribute.
2001-01-25* win32-nat.c (_initialize_core_win32): Prototype correctly.Christopher Faylor3-2/+6