summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* Add __FILE__ and __LINE__ parameter to internal_error() /Andrew Cagney2001-02-0866-430/+839
| | | | internal_verror().
* From Mark Kettenis, include <signal.h>.Andrew Cagney2001-02-082-1/+7
|
* Fix printf fmt of long in remote-sim.c.Andrew Cagney2001-02-073-2/+9
| | | | mn10300-elf now buildable.
* * event-top.c: Remove duplicate #include <signal.h>.Mark Kettenis2001-02-072-2/+4
|
* * sol-thread.c (restore_inferior_pid): Save the PID in a freshlyAndrew Cagney2001-02-073-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.
* * MAINTAINERS: Add ``The Obvious Fix Rule''.Andrew Cagney2001-02-072-0/+18
|
* Add Michael Synder to Solaris/SPARC list.Andrew Cagney2001-02-072-2/+7
|
* Addd set_gdbarch_data() method. Update register_gdbarch_data() interface.Andrew Cagney2001-02-074-50/+203
|
* 2001-02-06 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-074-19/+48
| | | | | | | | | Originally from Martin Hunt <hunt@redhat.com>, with modifications * library/srcwin.itb (_name): Check for errors when invoking gdb_find_file. * library/srctextwin.itb (_mtime_changed, location): Ditto. * generic/gdbtk-cmds.c (gdb_find_file_command): Better error checking. (full_lookup_symtab): Fix misleading comment.
* * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: CallMichael Sokolov2001-02-062-1/+6
| | | | fprintf_filtered with correct arguments.
* 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>Michael Snyder2001-02-068-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-04 Philip Blundell <philb@gnu.org>Phil Blundell2001-02-064-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.
* * valops.c (value_cast): If casting a scalar to a pointer, do notDavid Taylor2001-02-062-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.
* Fix spacing.Christopher Faylor2001-02-061-1/+1
|
* * win32-nat.c: Change PTR to void * throughout.Christopher Faylor2001-02-062-5/+9
|
* * signals.h: Removed.J.T. Conklin2001-02-0611-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.
* Change suggested by Dean Luick <luick@cray.com>Christopher Faylor2001-02-062-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-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2001-02-062-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-05 Michael Chastain <chastain@redhat.com>Michael Chastain2001-02-052-0/+6
| | | | | * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *' to conform with interface change.
* 2001-02-04 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-053-3/+415
| | | | | | | * library/plugins/plugins.tcl: Fix typos and remove "-transient" parameter from open command. * library/plugins/HOW-TO: New file. Describes how to add a plug-in window to Insight.
* * config/djgpp/fnchange.lst: Tweak to make consistent with theEli Zaretskii2001-02-042-9/+24
| | | | new files.
* * config/djgpp/djconfig.sh: Use explicit absolute file name whenEli Zaretskii2001-02-042-1/+7
| | | | invoking `find'.
* * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only ifEli Zaretskii2001-02-042-0/+11
| | | | | UART_FIFO_WORKS is defined. Otherwise use outportb. From Francisco Pastor <fpastor.etra-id@etra.es>
* * go32-nat.c (go32_xfer_memory): Make the argument list consistentEli Zaretskii2001-02-042-1/+9
| | | | with target.h's to_xfer_memory member.
* * ppc-bdm.c (#include <signal.h>): Removed.J.T. Conklin2001-02-0214-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.
* Changed free() to xfree() where appropriate. Also changed Copyright toJohn R. Moore2001-02-027-16/+26
| | | | include 2001.
* * cli/cli-cmds.c (apropos_command): Changed occurance of free() to xfree().John R. Moore2001-02-022-2/+7
| | | | Also changed Copyright to include 2001.
* * monitor.c (#include "gdb_wait.h"): Removed.J.T. Conklin2001-02-0230-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-01 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-024-4/+12
| | | | | | | * library/images/insight.gif: New splash screen/about graphics. * library/images2/insight.gif: New splash screen/about graphics. * library/about.tcl: Update copyright, window title and change colors to match new splash screen/about images.
* 2001-02-01 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-014-115/+164
| | | | | | | | | | | | | | | | | | | | | | * library/gdbtoolbar.itcl (add): New method. Emulate the style of the toolbar iwidget commands. (toolbar_show): Old name. (show): New name. (toolbar_create_button): Old name. (create): New name. (toolbar_configure_button): Old name. (itemconfigure): New name. (toolbar_bind_button): Old name. (itembind): New name. (toolbar_set_button_balloon): Old name. (itemballoon): New name. (toolbar_add_button): Make private. (toolbar_add_label): Ditto. (toolbar_add_button_separator): Ditto. (toolbar_remove_button): Ditto. (tollbar_insert_button): Ditto. * library/srcbar.itcl: Adjust to the above syntax. * library/plugins/rhabout/rhabout.itcl: Ditto.
* 2001-02-01 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-015-147/+185
| | | | | | | | | | | | | | | | | | | | * library/gdbmenubar.itcl (constructor): Remove unused code. (add): New method. Emulate the style of the menubar iwidget commands. (menubar_show): Old name. (show): New name. (menubar_menu_exists): Old name. (exists): New name. (menubar_clear_menu): Old name. (clear): New name. (menubar_delete_menu): Old name. (delete): New name. (menubar_new_menu): Make private. Does not return anything. (menubar_add_menu_command): Make private. (menubar_add_menu_separator): Ditto. (menubar_change_menu_state): Ditto. * library/srcbar.itcl: Adjust to the above syntax. * library/plugins/plugins.tcl: Ditto. * library/plugins/rhabout/rhabout.itcl: Ditto.
* 2001-02-01 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-013-15/+60
| | | | | | | | | | | * library/pluginwin.itcl (contrucdtor, destructor): Use "code" to specify callbacks. (running, stopped, no_inferior): Make it a protected method. (childsite): Explicitly mark as a public method. * library/plugins/rhabout/rhabout.itcl (constructor): Add a label widget to show status messages. (running, stopped): Overload versions of the base class; display status messages as an example.
* v850-elf target is now building.Jonathan Larmour2001-02-011-1/+1
|
* 2001-01-31 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-012-1/+2
| | | | | | | | | | * library/pluginwin.itcl: New file. Implements the PluginWindow class that provides some basic functionality for plug-ins. * library/plugins/rhabout/rhabout.itcl: Inherit from the new PluginWindow class. Remove code dependent on ModalDlg. (constructor): Creates menus and a toolbar to show how these PluginWindow components are used. * library/tclIndex: Regenerate.
* 2001-01-31 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-02-013-6/+231
| | | | | | | | | * library/pluginwin.itcl: New file. Implements the PluginWindow class that provides some basic functionality for plug-ins. * library/plugins/rhabout/rhabout.itcl: Inherit from the new PluginWindow class. Remove code dependent on ModalDlg. (constructor): Creates menus and a toolbar to show how these PluginWindow components are used.
* 2001-01-31 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-315-1/+63
| | | | | | | | | | | * library/plugins/rhabout.tcl: Add load for optional sample C command procedure. * library/plugins/rhabout/rhabout.itcl (constructor): Try calling optional sample C command procedure rhabout_extra_text. * library/plugins/rhabout/rhabout.c: New file. Implement an example plug-in shared library with a sample C command procedure. * library/plugins/rhabout/Makefile: New file. Makefile for the sample shared library above (Linux only).
* 2001-01-31 David Smith <dsmith@redhat.com>David Smith2001-01-317-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-31 David Smith <dsmith@redhat.com>David Smith2001-01-312-0/+5
| | | | * MAINTAINERS: Add David Smith to Write After Approval list.
* Move putchar_filtered() to utils.c.Andrew Cagney2001-01-315-14/+20
|
* 2001-01-28 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-316-0/+67
| | | | | | | | | | | | | | | | | * library/plugins: New directory. Sample plug-in directory to help developers of Insight plug-ins. See README file in that directory. * library/plugins/plugins.tcl: New file. Sample version of a code fragment file which adds entries to the PlugIn menu of the Source Window to activate custom plug-in windows. * library/plugins/pkgIndex.tcl: New file. Sample version of a file with package information for the installed plug-ins. * library/plugins/rhabout.tcl: New file. Sample file providing a plug-in package. * library/plugins/rhabout: New directory. Sample plug-in. * library/plugins/rhabout/rhabout.itcl: New file. Sample class implementing a plug-in window. * library/plugins/rhabout/tclIndex: New file. Tcl index for the sample plug-in implementation.
* Cleanup autoconfigury of vfork().Andrew Cagney2001-01-317-203/+486
|
* Replace strsave() with xstrdup().Andrew Cagney2001-01-3119-64/+80
|
* * cli/cli-script.c (define_command): Check for a bad hook value inAndrew Cagney2001-01-312-0/+6
| | | | switch statement.
* * configure/sh/embed.mt: New file.J.T. Conklin2001-01-304-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.
* Replace blanked lines from earlier commit with comment stating thatKevin Buettner2001-01-301-3/+3
| | | | the reason why the space is empty.
* Remove unused printf() definition.Kevin Buettner2001-01-302-4/+8
|
* Removed files structs3.c structs3.exp.Michael Chastain2001-01-302-112/+0
| | | | These were added by accident. Whoops!
* 2001-01-29 Michael Chastain <chastain@redhat.com>Michael Chastain2001-01-304-2/+122
| | | | | * symtab.c (block_lookup_symbol): Use 'namespace' parameter in symbol comparisons in binary search.
* 2001-01-28 Michael Chastain <chastain@redhat.com>Michael Chastain2001-01-281-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-28 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2001-01-283-1/+37
| | | | | | | * library/main.tcl: Add plugin subdirectory, if existent, to auto_path. * library/srcbar.itcl (create_plugin_menu): New method. Create a pull down menu for plugins if there are any for this target configuration. (create_menu_items): Invoke the new method above.