aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
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.
1998-03-04Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-5/+23
* gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
1998-03-04type in feb 19John Metzler1-2/+2
1998-03-04Cleanup entry for feb 19John Metzler1-1/+3
1998-03-04elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into MAKE_MSYMBOL_SPECIALRon Unrau3-13/+17
config/mips/tm-mips.h: ditto symtab.h: update comments re minimal_symbol->info mips-tdep.c: globalize gdb_print_insn_mips txvu-tdep.c: disassemble support config/mips/tm-txvu.h: add vu_pc, use MAKE_MSYMBOL_SPECIAL, track updates from tm-r5900.h
1998-03-04vr4111 changes for mips64vr4111-*-elf, Passes make chack with only 2 failuresJohn Metzler1-0/+9
1998-03-04Previously, the size of pointers was taken from the hosts pointer size. Now, ↵John Metzler1-4/+2
it is a function of TARGET_PTR_BITS.
1998-03-04Target triple mips64vr4111-*-elf is defined by the header file tm-vr4xxx.hJohn Metzler1-2/+2
1998-03-04Supports mips64vr4111-*-elfJohn Metzler1-0/+5
See tm-vrxxx.h
1998-03-04Defines a mips configuration which entailsJohn Metzler1-0/+25
Configuration triple mips64vr4111-*-elf 64 bit architecture 16 bit sub core 32 bit ints and floats No floating point unit MIPS EABI interface Dwarf2 debugging format
1998-03-03Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda2-7/+19
* alpha-nat.c (fetch_osf_core_registers): Renamed from fetch_aout_core_registers. (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change flavour to bfd_target_unknown_flavour for OSF core files.
1998-03-03 * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :Gavin Romig-Koch3-0/+38
Added.
1998-03-03Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-0/+5
* breakpoint.c (_initialize_breakpoint): Make "en" an alias for "enable" (so that it doesn't conflict with "end").
1998-03-03Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-1/+5
* Makefile (VERSION): Bump to 4.17.1.
1998-03-03Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-0/+8
* rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
1998-03-03Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-1/+5
* Makefile.in (YYFILES): Remove in maintainer-clean, not distclean. Er, oops.
1998-03-03Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda2-0/+5
* Makefile.in (distclean): Add `rm $(YYFILES)'.
1998-03-03Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda1-0/+5
* coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum is unsigned.
1998-03-02Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>Jason Molenda6-0/+89
* configure.host, configure.tgt: Add sparc-linux. * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux. * config/sparc/*linux*: New files.
1998-03-02Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)Jason Molenda1-0/+5
* arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm if we're big endian; else call print_insn_little_arm. Patch contributed in PR 15182.
1998-02-24Change from rth.Jason Molenda2-14/+23
* Makefile.in (BISON): Don't even pretend to use yacc. (c-exp.tab.o): Use bison -o to use a unique intermediate file. (jv-exp.tab.o, f-exp.tab.o, m2-exp.tab.o): Likewise.
1998-02-23 * config/mn10300-eval.exp: New file to support MN10300 eval board.Mark Alexander1-0/+10
1998-02-23Specify correct values for REGISTER_RAW_SIZE.Andrew Cagney2-2/+21
If a SIM/GDB register size botch, warn the user once.
1998-02-20remove long long printf crashJohn Metzler1-0/+10