aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1997-07-31 * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC, SYMBOL_INIT_DEMANGLED_NAME,Per Bothner1-0/+8
SYMBOL_DEMANGLED_NAME): Add demangling support for Java. * utils.c (fprintf_symbol_filtered): Handle language_java. * symtab.c (decode_line_1): Handle Java-style package.class.method.
1997-07-31 * java-*: Renamed to jv-*, to make fit within 14 characters.Per Bothner8-43/+127
* jv-lang.h (java_type_print): Added declaration. * jv-typeprint.c: New file. Provides java_print_type. * jv-lang.c (java_link_class_type): New function. (java_language_defn): Replace c_print_type by java_print_type. * Makefile.in: Update accordingly.
1997-07-29 * Makefile.in (init.c): except some mswin files do need to beFelix Lee2-1/+5
scanned. oh well.
1997-07-28 * Makefile.in (init.c): don't try to scan mswin for _initializeFelix Lee6-73/+47
funcs. (generates misleading error message because files have .cpp suffix, not .c suffix) * ser-e7kpc.c: <w32sut.h> -> "mswin/w32sut.h" * mon960-rom.c: removed unused #includes; no ioctl.h in Windows. * nindy-share/ttyflush.c: find sleep() for _MSC_VER. * remote-array.c: #include <ctype.h> for isascii(). * utils.c (notice_quit,pollquit): cleanup. _WIN32 -> _MSC_VER.
1997-07-28 * xcoffread.c (coff_getfilename): Do not strip directory componentPeter Schauer2-13/+8
of filename.
1997-07-25 * top.c (execute_command): Force cleanup of alloca areas.Jeff Law2-1/+12
* findvar.c (registers_changed): Likewise. Fixes memory "leak" reported by HP. Call from execute_command is for general alloca cleanup; call from registers_changed is to fix hp's specific problem.
1997-07-25 * v850ice.c: Include <windows.h>. Support new v850 DLL interface.Stu Grossman2-25/+77
* Add defs for target status.
1997-07-23Tue Jul 22 19:45:37 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt4-39/+47
* configure.in, aclocal.m4: Another fix to find the correct Tix library name. * configure: Rebuilt.
1997-07-22Pulling changes over from tx39 branchMichael Snyder2-42/+3
1997-07-22Cleaning up mips tx39 sanitization.Michael Snyder1-3/+6
1997-07-22Tue Jul 22 12:11:48 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-0/+12
* config/mips/tm-mips64.h: longs, long longs, and pointers are all 64 bits on EABI mips targets.
1997-07-22Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt1-4/+15
* configure: Rebuilt.
1997-07-22Mon Jul 21 22:24:07 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt2-3/+20
* aclocal.m4: Search for the correct tix library.
1997-07-17Thu Jul 17 11:38:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-0/+13
* partial-stab.h (case N_BINCL): detect missing partial symtab. * dbxread.c: Add a complaint for N_BINCL without a corresponding partial symtab. Remove earlier change of 5/27/97.
1997-07-16Wed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-0/+4
* sol-thread.c (sol_thread_[store, fetch]_registers): if inferior_pid is an LWP rather than a Solaris thread, let procfs handle the request. (rw_common, sol_thread_xfer_memory): procfs_xfer_memory will only work if inferior_pid points to an LWP (rather than a Solaris thread). Use procfs_first_available to find a good LWP. (info_solthreads): added a maintenance command to list all known Solaris threads and their attributes. * mips-tdep.c (mips_do_registers_info): Completely changed the output format to be neat and columnar. Added the helper funcs do_fp_register_row and do_gp_register_row. Also small mods to mips_print_register, which is still used to print a single reg.
1997-07-16Wed Jul 16 10:38:03 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-6/+107
* sol-thread.c (sol_thread_[store, fetch]_registers): if inferior_pid is an LWP rather than a Solaris thread, let procfs handle the request. (rw_common, sol_thread_xfer_memory): procfs_xfer_memory will only work if inferior_pid points to an LWP (rather than a Solaris thread). Use procfs_first_available to find a good LWP. (info_solthreads): added a maintenance command to list all known Solaris threads and their attributes.
1997-07-15Mon Jul 14 18:02:53 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-10/+20
* procfs.c (wait_fd): Handle an fd that has "hung up" or otherwise terminated (Solaris threads).
1997-07-10Thu Jul 10 00:02:41 1997 Martin M. Hunt <hunt@cygnus.com>Martin Hunt7-125/+383
* Makefile.in, configure.in, aclocal.m4: Add Itcl, Tix, and IDE configuration information. * gdbtk.c (breakpoint_notify): Send address, linenumber and filename when a breakpoint is set. Avoids call to bp_info. (gdbtk_init): Call Tcl_FindExecutable(). Add code to handle Itcl, Tix and IDE initialization. * defs.h (init_ui_hook): Change prototype to accept one arg. * main.c (gdb_init): Change prototype to accept one arg. * top.c (gdb_init): Accepts one argument which it uses to call (*init_ui_hook), which will be gdbtk_init(). This is used for calling Tcl_FindExecutable(). * gdbtcl/breakpoint.tcl (gdbtk_tcl_breakpoint): Change to accept variable number of args for compatibility with cchanges in gdbtk.c. * configure: Regenerated. * gdbtcl/tclIndex: Regenerated.
1997-07-04 * source.c (OPEN_MODE, FDOPEN_MODE): Define; value depends uponIan Lance Taylor2-3/+15
whether CRLF_SOURCE_FILES is defined. (open_source_file): Use OPEN_MODE with open and openp. (print_source_lines): Use FDOPEN_MODE with fdopen. If CRLF_SOURCE_FILES is defined, ignore \r characters. (forward_search_command): Use FDOPEN_MODE with fdopen. (reverse_search_command): Likewise. * config/i386/xm-cygwin32.h (CRLF_SOURCE_FILES): Define. (LSEEK_NOT_LINEAR): Don't define.
1997-07-04 * gdbint.texinfo (Host Conditionals): Add CRLF_SOURCE_LINES.Ian Lance Taylor1-0/+5
Document LSEEK_NOT_LINEAR.
1997-07-04 * lib/gdb.exp(get_debug_format): Don't cause the testsuite to failBob Manson2-5/+15
if we can't get a debug format from GDB (we may be testing an older GDB). Use a 10 second timeout when checking for the format. * gdb.stabs/weird.exp: Fix quoting.
1997-07-04Thu Jul 3 17:41:46 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-2/+6
* mips-tdep.c (mips_extract_return_value): align 4-byte float return values within the 8-byte FP register.
1997-07-03 * config/sparclet.exp: Renamed sparclet-loader.c to stub-loader.c.Bob Manson2-2/+6
1997-07-03Thu Jul 3 13:48:11 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-8/+13
* mips-tdep.c (mips_push_arguments): don't left-adjust 32-bit integers in 64-bit register parameters before function calls.
1997-07-01 * config/arm-ice.exp: New file.Bob Manson3-0/+6
1997-07-01Mon Jun 30 17:54:51 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-29/+51
* mips-tdep.c (mips_push_arguments): special-case handling for odd-sized struct parameters passed in registers / on stack.
1997-06-30Mon Jun 30 15:30:38 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-9/+21
* mips-tdep.c (mips_push_arguments): tweak alignment of small structs passed in registers for little-endian non-EABI mode.
1997-06-30Mon Jun 30 13:05:39 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder1-0/+6
* breakpoint.c (frame_in_dummy): use generic dummy if available. (check_duplicates, clear_command): compare sections only if doing overlay debugging.
1997-06-30 * gdb.base/overlays.exp: Preliminary fixes; temporarily disabledBob Manson4-13/+53
until it has been modified to work with the new testsuite. * gdb.*/*.exp: Instead of causing 1 unresolved test when the testcase won't compile, cause all of the testcases in the file to fail instead. * lib/gdb.exp(gdb_suppress_entire_file): New procedure. (gdb_clear_suppressed): New procedure. (gdb_stop_suppressing_tests): Only clear suppress_flag if it contains a positive value.
1997-06-29 Check in correct file (config/m32r-stub.exp)Bob Manson1-1/+1
1997-06-29 * lib/gdb.exp(default_gdb_start): Use gdb_opts host feature.Bob Manson2-5/+4
1997-06-28 * gdb.c++/virtfunc.exp: Remove setting of libs variable.Bob Manson1-0/+4
1997-06-28 * buildsym.h (struct subfile): Add debugformat member.Fred Fish13-24/+145
(record_debugformat): Declare global function. * buildsym.c (start_subfile): Initialize debugformat member to NULL. (record_debugformat): New function to record the format. (end_symtab): Copy format into symtab debugformat member. (end_symtab): Free subfile debugformat member. * symmisc.c (free_symtab): Free debugformat when freeing symtab. * symfile.c (allocate_symtab): Initialize the new debugformat member for new symtabs. * symtab.h (struct symtab): Add debugformat member. * source.c (source_info): Print the debug format. * os9kread.c (os9k_process_one_symbol): Call record_debugformat with "OS9". * hpread.c (hpread_expand_symtab): Call record_debugformat with "HP". (hpread_process_one_debug_symbol): Ditto. * dbxread.c (process_one_symbol): Call record_debugformat with "stabs". * coffread.c (coff_start_symtab): Call record_debugformat with "COFF". * xcoffread.c (read_xcoff_symtab): Call record_debugformat with "XCOFF". * dwarfread.c (read_file_scope): Call record_debugformat with "DWARF 1". * dwarf2read.c (read_file_scope): Call record_debugformat with "DWARF 2". * dstread.c (dst_end_symtab): Set debugformat to be "Apollo DST". * mdebugread.c (new_symtab): Set debugformat to be "ECOFF".
1997-06-28 * lib/gdb.exp (setup_xfail_format): New function.Fred Fish4-50/+125
(get_debug_format): New function to get debug format. (debug_format): New global variable to hold last value set by get_debug_format. * gdb.base/list.exp: Call get_debug_format and expect some tests to fail for DWARF 1 and COFF formats. * gdb.c++/ptype.exp: Ditto. * gdb.c++/classes.exp: Ditto. * gdb.c++/cplusfuncs.exp: Ditto. * gdb.c++/inherit.exp: Ditto. * gdb.c++/templates.exp: Ditto. * gdb.c++/virtfunc.exp: Ditto.
1997-06-28Fri Jun 27 21:05:45 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder2-1/+22
* mips-tdep.c (mips_push_arguments): handle alignment of integer and struct args on stack for mips64 big-endian.
1997-06-28Fri Jun 27 19:19:12 1997 Michael Snyder (msnyder@cleaver.cygnus.com)Michael Snyder3-13/+45
* config/mips/tm-mips.h (USE_STRUCT_CONVENTION): MIPS_EABI returns structs in a register wherever possible.
1997-06-25 * lib/gdb.exp(default_gdb_exit): Don't give an error if the remoteBob Manson4-131/+195
host doesn't have a currently-open connection. * config/sparclet.exp: Cleanups and fixes to make it generic for any gdb stub target. Handle cases where gdb doesn't respond when interrupted in a sane fashion. * config/m32r.exp: Load sparclet.exp instead of trying to do the same thing in a totally different way. * config/monitor.exp: Pass in timeouts to gdb_expect instead of setting "timeout". (gdb_start): We set the global gdb_prompt variable in default_gdb_init now.
1997-06-22Fix a "ninemoons" email address that slipped in.Fred Fish1-1/+1
1997-06-22Fix one of my "ninemoons" email addresses that slipped in.Fred Fish1-1/+1
1997-06-22 * gdb.base/printcmds.exp: Fix "check for floating addition"Fred Fish3-5/+13
regexp to accept results within approx +/- .01 of exact value. * lib/gdb.exp (gdb_test): Remove unused expect_out global decl.
1997-06-21 * sh-tdep.c (sh_skip_prologue): Also recognize fmov insns.Fred Fish2-3/+36
(sh_frame_find_saved_regs): Recognize fmov insns and adjust stack push count accordingly. * sh-tdep.c (IS_FMOV, FPSCR_SZ): New defines
1997-06-21Sanitize away sh4 stuff for now.Fred Fish1-0/+27
1997-06-21Minor formatting change (whitespace only).Fred Fish1-1/+1
1997-06-19 * utils.c (floatformat_from_doublest): Improve test for infinity.Mark Alexander2-1/+5
1997-06-19 (gdb_expect): Add optional timeout parameter, and add timeoutBob Manson2-65/+56
value to various calls. (gdb_suppress_tests): Only give one warning message per group.
1997-06-18 * dwarfread.c (isreg, optimized_out, offreg, basereg): MoveFred Fish2-35/+60
global variables into the struct dieinfo structure. (locval): Pass pointer to a dieinfo struct rather than a pointer to the raw location information. Change prototype. Set isreg, optimized_out, offreg and basereg as appropriate. (struct_type): Call locval with dieinfo struct pointer. (new_symbol): Ditto. (new_symbol): Call locval and save location before testing the values of the new dieinfo struct flags, set by locval.
1997-06-18 * lib/gdb.exp(gdb_init): Pass our arguments to default_gdb_initBob Manson2-1/+6
properly.
1997-06-18 lib/gdb.exp(gdb_expect): Handle getting a value for $timeoutBob Manson2-10/+14
more gracefully.
1997-06-17 * procfs.c (proc_set_exec_trap, procfs_init_inferior, procfs_wait,Peter Schauer2-53/+16
unconditionally_kill_inferior): Undo Oct 26 1996 and Apr 26 1997 changes to trace PRFS_STOPTERM and handle PR_DEAD. These changes tried to work around a problem with an early DU 4.0 release, but they trigger subtle timing dependent kernel bugs in older OSF/1 releases.
1997-06-17 * lib/gdb.exp(gdb_expect): Declare errorInfo and errorCodeBob Manson2-0/+7
as global variables.