aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1998-04-28Tue Apr 28 11:08:25 1998 John Metzler <jmetzler@cygnus.com>John Metzler2-1/+5
* rom68k-rom.c (_initialize_rom68k): Fix unresolved init_rom_68kcmds
1998-04-27 * config/sparc/tm-sparc.h (CALL_DUMMY): Shorten it drastically,Mark Alexander2-106/+64
make it work on the simulator. (FIX_CALL_DUMMY): Convert to function call instead of inline code. (sparc_fix_call_dummy): Declare. * sparc-tdep.c (sparc_fix_call_dummy): New function, taken from old FIX_CALL_DUMMY macro, with additional fixes for simulator. (sparc_push_dummy_frame): Set registers differently on simulator to prevent corrupted register window save areas.
1998-04-27Mon Apr 27 13:46:40 1998 John Metzler <jmetzler@cygnus.com>John Metzler11-575/+528
* rom68k-rom.c (_initialize_rom68k init_rom68k_cmds): * abug-rom.c (_initialize_abug_rom init_abug-cmds): * cpu32bug-rom.c (_initialize_cpu32bug_rom init_cpu32bug_cmds): * mon960-rom.c (initialize_mon960 init_mon960_cmds): * op50-rom.c (initialize_op50n init_op50n_cmds) : * ppcbug-rom.c (_initialize_ppcbug_rom init_ppc_cmds) : * sh3-rom.c (_initialize_sh3_rom init_sh3_cmds) : * sparclet-rom.c (_initialize_sparcletinit_sparclet_cmds ) : * remote-est.c ( _initialize_est init_est_cmds) : * remote-hms.c ( _initialize_remote_hms init_hms_cmds) : Convert all static initializations of monitor ops structures to executable initializations in oreer tat additions to the data structure definition can me made without repeating this editing exercise
1998-04-27Mon Apr 27 10:43:04 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-1/+5
* gdb_string.h (strdup): Don't specify arguments in prototype.
1998-04-26 * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error ifPeter Schauer2-12/+32
fstat on ldinfo_fd fails. Use objfile->obfd instead of vp->bfd to check for reference to the same file. * target.c (target_read_string): Handle string transfers at the end of a memory section gracefully.
1998-04-25Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer2-1/+5
* Makefile.in: enable EXEEXT setting
1998-04-24 * mips-tdep.c (mips32_decode_reg_save): Handle 128bit wideJeff Law1-0/+10
GPR loads/stores generated on the r5900. (mips_find_saved_regs, mips32_skip_prologue): Likewise. * mips/tm-r5900.h (R5900_128BIT_GPR_HACK): Define. * mips/tm-txvu.h (R5900_128BIT_GPR_HACK): Likewise.
1998-04-24 * Makefile.in (install-only): Install help files.Keith Seitz2-1/+7
1998-04-23Thu Apr 23 16:37:20 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-0/+4
* README: Minor changes for 4.17 release.
1998-04-23 * symfile.c (deduce_language_from_filename): .class implies java.Per Bothner2-1/+5
1998-04-23Thu Apr 23 12:56:19 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda1-0/+11
* gdb.c++/virtfunc.cc: Declare extern "C" printf to return int, not void. fche says he vaguely remembers a problem with returning int instead of void, but ISO C sez printf returns int, so let's see what happens.
1998-04-23oops, regenerated with old version of autoconf.Jason Molenda1-224/+234
1998-04-23Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda6-235/+292
* configure.in (strerror): Check if function must be declared. * acconfig.h (NEED_DECLARATION_STRERROR): New define slot. * gdb_string.h (strerror): Function declaration issued if NEED_DECLARATION_STRERROR. * configure, config.in : Files regenerated.
1998-04-23Thu Apr 23 12:27:43 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda9-52/+94
* symfile.c (simple_overlay_update_1): Do not prefix array address by `&'. * bcache.h (BCACHE_DATA_ALIGNMENT): Ditto. * tracepoint.c (encode_actions): Ditto. * language.c, complaints.c, utils.c (varargs.h): Do not include that file here, it is already included indirectly by defs.h. * dbxread.c (dbx_symfile_init, process_one_symbol): Cast xmalloc return value to the appropriate pointer type. * utils.c (floatformat_from_doublest): Ditto. * tracepoint.c (read_actions, _initialize_tracepoint): Ditto. (add_memrange): Likewise with xrealloc return value. * stabsread.c (ref_add): Ditto. * coffread.c (coff_symfile_init): Likewise for xmmalloc return value. * elfread.c (elf_symfile_read): Ditto. * os9kread.c (os9k_symfile_init): Ditto.
1998-04-23 * config.in: Rebuilt.Tom Tromey3-1/+119
* acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_STPCPY, HAVE_GETTEXT, HAVE_LC_MESSAGES): Define.
1998-04-23Wed Apr 22 21:17:35 1998 Christopher Faylor <cgf@cygnus.com>Christopher Faylor2-0/+33
* gdbtk.c (_initialize_gdbtk): add cygwin32 specific code to allow `gdb -nw' to work when specified specified from a windows console-mode command line.
1998-04-22 * configure: Rebuilt.Tom Tromey4-130/+1833
* configure.in: Call CY_GNU_GETTEXT. * Makefile.in (top_builddir): New macro. (INTL): Define to @INTLLIBS@. (INTL_DEPS): New macro. (CDEPS): Reference INTL_DEPS, not INTL.
1998-04-22 * txvu-tdep.c (txvu_print_insn): Fix thinko.Doug Evans1-0/+6
1998-04-22Change "linux" usage to make rms usage + pick up jlimke's configure.inJason Molenda1-129/+154
change from yesterday.
1998-04-22 Handle missing shared libraries during the examination of a corePeter Schauer4-28/+59
dump gracefully. * solib.c (find_solib): Use catch_errors around call to solib_map_sections. Use warning instead of error if reading of the shared library name fails. (solib_map_sections): Change return and argument types to make it callable from catch_errors. (symbol_add_stub): Avoid GDB core dump if solib->abfd is NULL. * irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections, symbol_add_stub): Ditto.
1998-04-22Add intl libraryMichael Meissner2-7/+27
1998-04-22Humoring RMS by saying "GNU/Linux" instead of just "Linux"Stan Shebs9-14/+16
1998-04-22 * gdb.texinfo (EDITION, DATE): Update and change to use ordinalsStan Shebs2-7/+12
for the edition instead of confusing GDB-version-like numbers.
1998-04-21Add configure option --with-sim-funit for sim & gdb.James Lemke2-0/+19
1998-04-21Add a "keep-vr4320" section so that tm-vr4320.h and vr4320.mt areJason Molenda1-0/+6
removed by default.
1998-04-21Add ns32knbsd-nat.c to things-to-keep.Jason Molenda1-11/+12
1998-04-21Add branches.c.Jason Molenda1-0/+1
1998-04-21Keep cygmon.exp.Jason Molenda1-2/+3
1998-04-21add i386sco5.mt, nm-i386sol2.h, tm-i386sco5.h, tm-i386sol2.hJason Molenda1-0/+4
1998-04-21* MIPS CPU-specific dissasembly extensions. Now TM_PRINT_INSN_MACH from tm.hFrank Ch. Eigler3-2/+465
sets a default mach for disassembly, just like sparc port. c.f. PR 15371. Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com> * mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions with subtarget-specific `mach', rather than fixed default. * config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default disassembly `mach'. start-sanitize-r5900 * config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override. end-sanitize-r5900 start-sanitize-sky * config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override. end-sanitize-sky
1998-04-20Mon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>Jason Molenda1-1/+1
* coffread.c (decode_base_type): Treat a long field with size greater than TARGET_LONG_BIT as long long. * values.c (value_from_longest): Print code value in error message.
1998-04-20Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>Jason Molenda2-1/+8
* gdb/gdb_string.h (strdup): Declare only if not defined as a macro. Mark glibc development versions are defining strdup as a macro and the prototype hosees it. Either way, this patch shouldn't cause problems.
1998-04-20Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>Jason Molenda5-11/+269
* procfs.c: Added replacement macros for LWP stuff. Fixed support for UnixWare / SVR4.2MP targets and any targets which use multi-file /proc entries. Fixed support for hardware watchpoints. * solib.c: SCO needs some of the same code as SunOS. Change preprocessor conditionals. * config/i386/i386sco5.mt: New file. * config/i386/tm-i386sco5.h: New file. * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o. * config/i386/nm-i386v42mp.h (TARGET_HAS_HARDWARE_WATCHPOINTS): define. Add other macros for hardware assisted watchpoints. * config/i386/nm-i386sco5.h: Correct attributions. (TARGET_HAS_HARDWARE_WATCHPOINTS): define. * config/i386/nm-linux.h (target_remote_watchpoint): Pass 'type' through to i386_insert_watchpoint. Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) * infrun.c (wait_for_inferior): Don't add signalled processes as new threads. * procfs.c (wait_fd): Note if LWP has exited. (procfs_wait): use GETPID to get process ID. NOTE: I didn't commit Kean's changes to configure.host/configure.tgt yet because they are kind of bogus and I'm punting back to him to let him figure out what he's trying to do. So configuring for UnixWare may not work just yet.
1998-04-18Added sparc86x support.Stan Cox2-1/+6
1998-04-16Thu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)Jason Molenda2-0/+10
* rdi-share/etherdrv.c (EthernetWrite): Use strerror to get error string if in an ANSI C-ish environment.
1998-04-16Thu Apr 16 10:52:34 1998 John Metzler <jmetzler@cygnus.com>John Metzler1-0/+113
* gdb.base/branches.c: Code with lots of loops and subroutines. Used to test gdbs ability to single step through PC changes, especially to test mips-tdep.c:mips_next_pc
1998-04-16 * sparc-tdep.c (SPARC_HAS_FPU): Define.Mark Alexander2-33/+25
(sparc_extract_return_value): New function, required to handle machines without floating point. (sparc_store_return_value): Ditto. * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call sparc_extract_return_value instead of using inline code. (sparc_extract_return_value): Declare. (STORE_RETURN_VALUE): Call sparc_store_return_value instead of using inline code. (sparc_store_return_value): Declare.
1998-04-15Wed Apr 15 12:19:42 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-3/+6
* solib.c (enable_break): Only call warning once instead of three times.
1998-04-15Reflect departures of old gdbtk versionsStan Shebs1-1/+1
1998-04-15End of another (shorter :-) ) era. Now only gdbtcl2 has a gdbtk interface.Stan Shebs1-0/+5
1998-04-15 * sparc-tdep.c (sparc_extract_struct_value_address): Make itMark Alexander4-31/+194
work correctly on little-endian hosts. (sparc_push_arguments): New function. (gdb_print_insn_sparc): New function. (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default disassembler, so that SPARClite-specific instructions will be recognized. * sparcl-tdep.c (readchar): Print debugging information. (debug_serial_write): New function, a replacement for SERIAL_WRITE that prints debugging information. * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define. (sparc_push_arguments): Declare.
1998-04-14 * gdbcfgxref (xref_menu): Call new regex and wild card searchesJohn Metzler1-0/+5
Now you can type in a specific triple like mips64-vr4320-elf or somthing like mips*.h (triple_search) wildcardsearch): The new functions
1998-04-14Tue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>John Metzler4-1/+37
* configure.tgt: Switch over to use tm-4320.h. Since I switched to MIPS EABI the fixes are no longer backward compatible with 4300. * tm-vr4320.h: Added * vr4320.mt: Added
1998-04-14* Changed one line in one C++ test case to hopefullyFrank Ch. Eigler1-0/+5
zap one group of persistent gdb testomat failures. Mon Apr 13 22:32:51 1998 Frank Ch. Eigler <fche@cygnus.com> * gdb.c++/virtfunc.cc: Make extern "C" printf declaration pass more rigorous EGCS C++ error checking.
1998-04-13Mon Apr 13 16:17:52 1998 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-1/+6
* gdbtk.c (gdb_loadfile): Change fstat() call to stat(). Needed because you can't convert a FILE* to an fd.
1998-04-13Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni4-1/+92
* utils.c: (warning) added call to warning_hook * source.c: (find_source_lines) modified to call warning in case of source vs. executable time stamp mismatch. Simplified object file check. Initialized mtime to 0. * defs.h: added warning_hook prototype * top.c: added warning_hook prototype. * gdbtk.c: (perror_with_name_wrapper) new function to call perror_with_name safely. (gdb_loadfile) added source vs. executable time stamp check. (gdbtk_warning) new function to pass a warning message to the gui. (gdbtk_ignorable_warning) new function to pass a warning to the gui. Used only for the src. vs. exec check. (gdbtk_init) added warning_hook added include <sys/stat.h>
1998-04-13> * gdb.texinfo (hbreak, watch): Fix typo, "date" -> "data".Fred Fish2-2/+6
1998-04-13 * gdbtk.c (gdbtk_start_timer): Include on all platforms. DecreaseKeith Seitz2-162/+33
timer interval a little. (gdbtk_stop_timer): Include on all platforms. (gdbtk_wait): No more signals! Use a timer on all platforms to keep the GUI alive. (gdbtk_init): Remove FIOASYNC and all x_fd references. Now using timers on all platforms.
1998-04-13 * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missingKeith Seitz2-0/+6
definition.
1998-04-11Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda6-10/+123
Update support for x86 Solaris 2. * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration files for x86 Solaris 2. * config/i386/i386sol2.mt, i386sol2.mh: Use them. * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract carry flag from a given regset. (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name is a SunPro transformed name. * i386-tdep.c (sunpro_static_transform_name): New function to extract the source name from a SunPro transformed name. * inferior.h (procfs_first_available, procfs_get_pid_fd): Add prototypes. * infrun.c (wait_for_inferior): Handle breakpoint hit in signal handler without intervening stop in sigtramp. * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY instead of direct access to the status register. (procfs_get_pid_fd): New function, returns procfs fd for a given pid. * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given lwpid. (sol_find_new_threads): Handle failed libthread_db initialization gracefully. * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME to check for a SunPro transformed symbol name.