aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-04-01Wed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-0/+7
* NEWS: m68k-motorola-sysv host support added. * coffread.c (coff_start_symtab): Accept the filename as an argument, set it here. Callers updated.
1998-04-01Make the SR, FSR and FIR registers 32 bits regardless of the target.Andrew Cagney3-10/+23
1998-04-01Fix Thumb breakpoints and diassembly.Nick Clifton2-48/+144
1998-04-01* d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to returnAndrew Cagney3-2/+20
odd sized register quantities with only half of the first register used! * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when size > 8.
1998-03-31 * gdbtk.c (gdb_loadfile): Don't use the return result from sprintf, whiKeith Seitz2-4/+21
ch returns a char * under SunOS4.
1998-03-31whoopsIan Lance Taylor1-8/+0
1998-03-31 * configure.in: Add $(LIBIDETCL) as well as $(LIBIDE) ifIan Lance Taylor4-4/+20
--enable-ide. * Makefile.in (IDE_CFLAGS_X): Add -I for libidetcl/src. (LIBIDETCL): Define. * configure: Rebuild.
1998-03-31 * lib/gdb.exp(gdb_test): Send multiline commands one at a time; waitBob Manson2-9/+61
for a newline from gdb before continuing. (default_gdb_exit): Just look for y or n.
1998-03-31Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda10-174/+2571
* rdi-share/Makefile.am, rdi-share/aclocal.m4, rdi-share/configure: New files. * rdi-share/configure.in: Rewritten to be an autoconf input file. * rdi-share/Makefile.in, rdi-share/configure: Generated by automake/autoconf. * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests to check environment. automake/autoconfiscate rdi-share. We don't use the checks that autoconf provides too much for now, but it'll be easier to use them if any problems crop up in the future. (rdi-share/ is foreign code and it probably isn't worth spending any more time than necessary messing with it.)
1998-03-30 * gdbtk.c (gdb_get_tracepoint_info): Change formatting of address.Keith Seitz2-2/+9
(tracepoint_exists): Remove code which confuses assembly traces.
1998-03-29 * tracepoint.c (trace_start_command): Set trace_running_p.Keith Seitz2-0/+7
(trace_stop_command): Clear trace_running_p.
1998-03-28 * NEWS: Update for 4.17 release.Stan Shebs2-2/+111
1998-03-28 * gdbtk.c (gdb_cmd): If argc > 2, assume that the busy and idle hooksKeith Seitz2-3/+20
should not be called.
1998-03-27Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni5-3/+73
* gdbtk.c: (gdb_trace_status) new function. (gdbtk_init) added command "gdb_is_tracing". (tracepoint_notify) added passcount information. * tracepoint.c (trace_status_command): Recognize a boolean return value from the stub to indicate whether trace experiment is running. Export this value as a global state variable (trace_running_p) for use by the GUI. (from Michael Snyder) (trace_pass_command) added call to modify_tracepoint_hook. * tracepoint.h export trace_running_p
1998-03-26Thu Mar 26 12:00:35 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-55/+94
* gdbtk.c (gdbtk_fputs): Insert fencepost. (gdb_loc): Correct pc calculation. (gdb_immediate_command): Return if a load is in progress. (gdb_cmd): Return if a load is in progress. (target_stop_wrapper): New function. (gdb_stop): Call target_stop_wrapper. (x_event): Add fencepost and optimize load cancel check. (gdbtk_start_timer): Set up structs only once. (gdbtk_stop_timer): Just use preset structs to set timer parameters. (gdb_loadfile): If file cannot be loaded, return error message. (gdb_loadfile): Add space before tab so that lines without a '-' can later be changed to have one.
1998-03-25Wed Mar 25 14:08:51 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-3/+10
* gdbtk.c (gdbtk_pre_add_symbol): Use Tcl_merge to form Tcl commands.
1998-03-25* As suggested by crash, made --with-sim-gpu2 option active only on -sky- ↵Frank Ch. Eigler2-20/+28
target.
1998-03-24 * Makefile.in: Derive SHELL from configure.Stu Grossman8-109/+255
* config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm from SIM. This prevents dependency checking of -lm (under NT native builds). (It is automatically added by configure if it exists.) * doc/configure mswin/configure nlm/configure testsuite/gdb.base/configure testsuite/gdb.c++/configure testsuite/gdb.chill/configure testsuite/gdb.disasm/configure testsuite/gdb.stabs/configure testsuite/gdb.threads/configure: Regenerate with autoconf 2.12.1 to fix shell issues for NT native builds.
1998-03-24Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)Jason Molenda1-0/+5
* solib.c (solib_create_inferior_hook): Rewrite previous change to check the type of file via BFD.
1998-03-23fix random sanitization errorsAngela Marie Thomas1-1/+1
1998-03-23Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com)Jason Molenda2-13/+77
* breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events like bp_breakpoints. * solib.c (solib_create_inferior_hook): Relocate section addresses if the alleged start address doesn't agree with the PC.
1998-03-23Mon Mar 23 13:41:39 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-39/+84
* gdbtk.c (gdb_get_mem): Rewrite to fetch entire contents of the memory window at once.
1998-03-23* Oops, added note re. regeneration of "configure" script.Frank Ch. Eigler1-0/+1
1998-03-23* Added sky-sanitized --with-sim-gpu2 option to match the one given toFrank Ch. Eigler3-122/+480
stand-alone sky simulator, last week. start-sanitize-sky Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com> * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure option, to allow gdb+sim linking with sky GPU2 library. end-sanitize-sky
1998-03-22Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni9-222/+685
merged changes from Foundry (list follows by file/author): - Tom Tromey <tromey@cygnus.com> * Makefile.in (gdbres.o): New target. (WINDRES): New define. * configure: Rebuilt. * configure.in (WINDRES): Define. (CONFIG_OBS): Include gdbres.o on Windows. * gdbtool.ico: New file. * gdb.rc: New file. * ser-unix.c - Keith Seitz <keiths@onions.cygnus.com> (wait_for): Don't reset the timeout_remaining for CYGWIN32, since we now effectively poll the serial port. Don't reset the current_timeout, either, since this member is used by hardwire_readchar to track the timeout and call the ui_loop_hook. (hardwire_readchar): Poll the serial port for Cygwin32. We timeout every second, update the UI, and loop around doing this until we have hit the real timeout or we get data or an error. This will allow the UI to stay active while gdb is "blocked" talking to the target. - Martin M. Hunt <hunt@cygnus.com> (wait_for): Do reset current_timeout because it is only used to keep track of what the current timeout for the scb is. * top.c - Martin M. Hunt <hunt@cygnus.com> (quit_confirm): Change exit message again for GUI. (pc_changed_hook): Add prototype. - Tom Tromey <tromey@cygnus.com> (quit_confirm): Added missing `else'. (quit_confirm): Special-case message if init_ui_hook is set. * symtab.c - Martin M. Hunt <hunt@cygnus.com> (find_pc_sect_line): If no symbol information is found, return correct pc anyway. (find_methods): Comment out an apparently bogus error message because it messes up Foundry. * serial.c - Martin M. Hunt <hunt@cygnus.com> (_initialize_serial): Add a description of "set remotelogbase". * findvar.c - Martin M. Hunt <hunt@cygnus.com> (write_register_gen): Add call to pc_changed_hook if the PC is being changed. * defs.h - Martin M. Hunt <hunt@cygnus.com> (pc_changed_hook): Define. * command.c - Martin M. Hunt <hunt@cygnus.com> (do_setshow_command): If no arguments are supplied, don't dump core, instead print out an error message. * breakpoint.c - Martin M. Hunt <hunt@cygnus.com> Make set_raw_breakpoint, set_breakpoint_count, and breakpoint_count non-static so they are accessible from gdbtk.c. (enable_breakpoint): Enable breakpoint with same disposition instead of changing all breakpoints to donttouch. * annotate.h - Keith Seitz <keiths@onions.cygnus.com> Add declarations for annotation hooks. * annotate.c - Keith Seitz <keiths@onions.cygnus.com> Add hooks: annotate_starting_hook, annotate_stopped_hook, annotate_signalled_hook, annotate_exited_hook. (annotate_starting): If hook exists, call it instead. (annotate_stopped): If hook exists, call it instead. (annotate_exited): If hook exists, call it instead. (annotate_signalled): If hook exists, call it instead. Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com> Merged changes from Foundry: list follows by author: - Tom Tromey <tromey@cygnus.com> * Makefile.in (gdbres.o): New target. (WINDRES): New define. * configure: Rebuilt. * configure.in (WINDRES): Define. (CONFIG_OBS): Include gdbres.o on Windows. * gdbtool.ico: New file. * gdb.rc: New file. * gdbtk.c (gdbtk_init): Call ide_create_messagebox_command. (gdbtk_cleanup): Call ide_interface_deregister_all. (gdbtk_init): Pass event handle to cleanup. (TclDebug): Use Tcl_Merge to construct command. (gdbtk_init): Call ide_create_cygwin_path_command. - Martin M. Hunt <hunt@cygnus.com> * gdbtk.c (gdb_set_bp): Set addr_string for bp. (gdb_get_breakpoint_info): Demangle function names in breakpoint info. Include "demangle.h". (gdb_loc, gdb_listfuncs): Demangle C++ function names. (gdb_set_bp): Properly quote filename to fix problems with spaces. Send pc back as a hex string. (gdb_listfuncs): Remove debugging line. Turn off some debugging lines. (breakpoint_notify): Return correct line number. (gdb_get_breakpoint_info): Return correct line number. (gdb_set_bp): New function to provide a better way to set breakpoints. (gdbtk_readline, gdbtk_readline_begin): Memory allocated by tcl needs to be freed by Tcl_Free(). (find_file_in_dir): Deleted. (gdb_find_file_command): Call full_lookup_symtab(). (gdb_listfuncs): Call full_lookup_symtab(). (full_lookup_symtab): New function. Like lookup_symtab except handles multiple files with the same basename, full pathnames, and always sets symtab->fullname. (gdb_loadfile): Call full_lookup_symtab(). Clear realloc'd memory. (gdb_loadfile): Don't tag lines without source. Tag source lines with source_tag. (gdb_find_file_command, find_file_in_dir): Rewrite. Now searches symtabs and psymtabs for a match on the partial or full filename. Returns the full pathname. (gdb_loadfile): Realloc additional memory if someone loads in a file with more than 160,000 lines. I don't know if this really works because I don't have enough memory to test it. (gdb_sourcelines): Deleted. (gdb_loadfile): New function. Takes a text widget and loads it with the contents of a file. Marks and tags source lines. (pc_changed): New function. (get_pc_register): Returns the value of the PC to GDB. (gdb_loc): If looking on the stack, return real pc along with calling source line. (gdb_loc): Return "" instead of "N/A" if filename is not found. (gdb_get_breakpoint_info): Same. (get_register): For Natural mode, set format to 0. Minor bugfixes from keiths. (TclDebug): New function for debugging use. (gdb_loc): Return correct PC for frames that are not the innermost frame. (gdb_listfiles): Rewritten to use object API. Now takes an optional dirname which will cause only files in that directory or its subdirectories to be returned. Now returns basenames instead of full pathnames. (gdb_cmd): Set/reset load_in_progress flag. (call_wrapper): Don't pop up dialog for errors in downloads; just abort download. (gdbtk_load_hash): Set return value correctly. - Keith Seitz <keiths@onions.cygnus.com> * gdbtk.c (gdbtk_init): Define the ui_loop_hook so that it can be called by routines which might block, allowing us to update the GUI. (gdbtk_wait): Move timer calls to annotation hooks. (gdbtk_init): Define the annotation hooks. (gdbtk_annotate_starting): New function for cygwin32 hosts. (gdbtk_annotate_stopped): New function for cygwin32 hosts. (gdbtk_annotate_exited): New function for cygwin32 hosts. (gdbtk_annotate_signalled): New function. for cygwin32 hosts. (gdbtk_init): Use gdbtk_print_frame_info hook. (gdbtk_print_frame_info): New function which sets current_source_symtab based on the given symtab and line info. (gdb_immediate_command): New function which does not buffer any output. (Contrast to gdb_cmd.) (gdb_prompt_command): New function to return gdb's prompt. (find_file_in_dir): New functon which searches source paths for a given filename. (gdb_find_file): New function which returns path to given file -- uses find_file_in_dir. (gdbtk_init): Install "gdb_immediate", "gdb_find_file", and "gdb_prompt" commands into interpreter. - Ian Lance Taylor <ian@cygnus.com> * gdbtk.c (gdbtk_timer_going): If __CYGWIN32__, new static variable. (gdb_cmd): If __CYGWIN32__, if executing the load command, call gdbtk_start_timer and gdbtk_stop_timer. (call_wrapper): If __CYGWIN32__, if the timer is going, turn it off. Clear load_in_progress. (x_event): If load_in_progress, quit if download_cancel_ok. (gdbtk_start_timer): Set gdbtk_timer_going. (gdbtk_stop_timer): Clear gdbtk_timer_going. (gdbtk_wait): Call x_event. (gdbtk_init): Call ide_create_win_grab_command if __CYGIN32__. (gdb_clear_file): Clear stop_pc.
1998-03-20Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder4-107/+282
* gdbserver/Makefile.in: add dependency on XM_CLIBS. * gdbserver/low-sim.c (registers) force into alignment. (create_inferior): Fix typo on new_argv; add abfd arg to sim_open, sim_create_inferior. Add reg_size arg to sim_fetch_register, sim_store_register. Make simulator take a single-step to get into a known running state. * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL. * gdbserver/server.c: Add remote_debug variable to control debug output. * gdbserver/server.h: Add prototypes for enable/disable_async_io. * gdbserver/remote-utils.c: add verbose debugging output controlled by "remote_debug" variable. Add call to "disable_async_io()" to avoid being killed by async SIGIO signals. * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES), so that gdbserver can be built with the m32r simulator.
1998-03-20Add builtin explicitly sized 8, 16, 32, 64 and 128 bit int andAndrew Cagney3-0/+93
unsigned types. Specify size of r5900 FSR using 32 bit unsigned type. Correctly format mips registers when some are not 64 bits in size Check that REGISTER_{RAW,VIRTUAL}_SIZE are consistent when the target specifies that no conversion is needed when moving from one to the other.
1998-03-19Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-5/+22
* minsyms.c (compare_minimal_symbols): If addresses are identical, then compare on names. Sorted list should have symbols with identical addresses AND names adjacent, so dups can be discarded.
1998-03-19 * stabsread.c (define_symbol): Don't look for ',' as a LRSJeff Law2-1/+6
indicator.
1998-03-18Change type of sys_errlist[] to match definition in /usr/include/errno.hNick Clifton2-7/+7
1998-03-17always keep SH4 support now (& remove an unused variable decl)Stan Shebs3-42/+1
1998-03-16Must have copied the wrong message when creating this file...Jeff Law1-529/+193
1998-03-13Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda2-0/+11
* config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix when compiling with native cc, the compiler has broken long long support.
1998-03-13Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda3-12/+20
* config/m68k/xm-sun3os4.h: Remove malloc declarations, they are handled via autoconf now. * remote.c (remote_ops, extended_remote_ops): Replace static forward declaration by moving the static definition to the top of the file, for old K&R compilers. * tracepoint.c (collect_symbol, trace_start_command): Replace ANSI string concatenation with K&R compatible simple string.
1998-03-13 * gdb.asm/{Makefile.in,configure.in,configure}: New files.Doug Evans1-0/+8
* gdb.asm/{asm-source.exp,asmsrc1.s,asmsrc2.s}: New files.
1998-03-13massive sanitization fixesAngela Marie Thomas5-1/+22
1998-03-13snapshotDoug Evans7-251/+152
1998-03-13regenerateDoug Evans1-1/+1
1998-03-13configure script for gdb.asm, initial source debugging test.Doug Evans4-0/+1165
1998-03-13Makefile.in for gdb.asm.Doug Evans2-0/+68
1998-03-13 * gdb.asm: New directory.Doug Evans1-1/+1
* configure.in: Configure it. * configure: Regenerate.
1998-03-13keep gdb.asmDoug Evans1-0/+1
1998-03-10 * configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.Gavin Romig-Koch2-7/+6
1998-03-06Scrap the un-needed vr4111 stuff.Gavin Romig-Koch2-30/+0
1998-03-06PR 15068Fred Fish8-1/+65
* utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than SERIAL_FLUSH_OUTPUT. * serial.h (struct serial_ops): Add drain_output, pointer to function that waits for output to drain. (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain. * ser-unix.c (hardwire_drain_output): New function and prototype. * ser-unix.c (hardwire_ops): Add entry for drain_output function. * ser-tcp.c (tcp_ops): Ditto. * ser-ocd.c (ocd_ops): Ditto. * ser-mac.c (mac_ops): Ditto. * ser-go32.c (dos_ops): Ditto. * ser-e7kpc.c (e7000pc_ops): Ditto.
1998-03-06Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-3/+7
* sparcl-tdep.c: fix #endif comments
1998-03-05Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-0/+4
* Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.
1998-03-05 * ocd.c (ocd_open): If we fail ocd_start_remote, make sure weKeith Seitz2-1/+9
error () so that we abort out of bdm_ppc_open.
1998-03-05Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt3-3/+25
* serial.c (_initialize_serial): Add a description of "set remotelogbase". * command.c (do_setshow_command): If no arguments are supplied, don't dump core, instead print out an error message.
1998-03-05Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-3/+7
* gdbtk.c (gdb_listfiles): Fix thinko in last change.