aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1995-06-06Fix some little endian problemsMichael Meissner3-8/+48
1995-06-02 * arc-tdep.c (arc_bfd_mach_type): New static global.David Edelsohn2-28/+101
(codestream_fill): Handle byte order differences. (setup_prologue_scan): Don't read stdarg function's "sub sp,sp,N". (arc_get_frame_setup): Read it here. (arc_frame_saved_pc): And here. (arc_print_insn): New function. (arc_set_cpu_type): Set arc_bfd_mach_type. Don't set tm_print_insn. (_initialize_arc_tdep): Set tm_print_insn to arc_print_insn.
1995-05-31* nlm/{configure.in, Makefile.in}: Converted to use autoconf.J.T. Conklin5-100/+918
* nlm/configure: New file, generated with autoconf 2.3.
1995-05-31* nlm/configure.in: Use sed instead of awk to get the value ofJ.T. Conklin2-5/+10
cpufile. Awk is not a utility required by the GNU coding standards. This change also fixes the rigid whitespace requirements that were required for awk.
1995-05-31* sparclite/aload.c: Use a file descriptor instead of a stdioJ.T. Conklin1-0/+10
stream for i/o with target board. Use #error if HAVE_TERMIOS is not defined. * sparclite/{Makefile.in, configure.in}: Converted to use autoconf. * sparclite/configure: New file, generated with autoconf 2.3.
1995-05-29 * defs.h: Include either varargs.h or stdarg.h (for va_list).Jeff Law1-0/+3
Fix stupid thinko in last change ("..." -> "va_list").
1995-05-29 * defs.h (vprintf_filtered declaration): Add PARAMS prototype;Jeff Law2-39/+68
gcc-2.5 chokes on format attributes for unprototyped functions. (vfprintf_filtered declaration): Likewise. (vprintf_unfiltered declaration): Likewise. (vfprintf_unfiltered). Likewise.
1995-05-28* configure.in: Use sed instead of awk to get the values ofJ.T. Conklin3-12/+30
hostfile, targetfile and nativefile. Awk is not a utility required by the GNU coding standards. This change also fixes the rigid whitespace requirements that were required for awk. * configure: regenerated.
1995-05-27Sat May 27 16:24:04 1995 Angela Marie Thomas <angela@cirdan.cygnus.com>Angela Marie Thomas1-0/+10
* sparclite/{Makefile,configure}.in: Add hooks for building with -lsocket & -lnsl for solaris2. Don't build aload/eload for DOS.
1995-05-25Update gdbtk keep/lose to match main GDB sanitizeStan Shebs1-11/+18
1995-05-25 * arm-tdep.c (_initialize_arm_tdep): Use print_insn_little_armSteve Chamberlain1-0/+3
now.
1995-05-24Wed May 24 15:49:47 1995 Steve Chamberlain <sac@slash.cygnus.com>Steve Chamberlain3-14/+109
* arm-tdep.c (convert_from_extended, convert_to_extended): New. * coffread.c (enter_linenos): Return if linetab 0. * config/arm/arm.mt (TDEPFILES): Add simulator support. * config/arm/tm-arm.h (FRAME_FIND_SAVED_REGS): Fix prototypes.
1995-05-24 * lib/gdb.exp: Fix comment which erroneously identifiedJim Kingdon1-0/+1
gdb_file_cmd as gdb_load (the 19 May change was in fact to gdb_file_cmd not gdb_load). * config/unix-gdb.exp (gdb_load): Add "upvar timeout timeout".
1995-05-24 * gdb.base/setvar.exp: Make test names consistent between pass andJim Kingdon1-0/+13
fail cases. Use gdb_test more.
1995-05-23 * config/idt.mt: replace monitor and array-rom with the newRob Savoye1-1/+1
remote-array.
1995-05-23 * remote-nindy.c: Install Kung patch for PR 6820. I have no ideaStu Grossman2-38/+53
what this does...
1995-05-22 * breakpoint.c: Move defaults of watchpoint related macros intoStu Grossman6-4/+25
target.h. * target.h: Macros from breakpoint.c. Conditionalize based on TARGET_HAS_HARDWARE_WATCHPOINTS. * i386v-nat.c procfs.c: Use TARGET_HAS_HARDWARE_WATCHPOINTS instead of TARGET_CAN_USE_HARDWARE_WATCHPOINT to enable watchpoint code. * config/i386/nm-linux.h, config/mips/nm-irix4.h, config/pa/nm-hppab.h, config/sparc/tm-sparclite.h: #define TARGET_HAS_HARDWARE_WATCHPOINTS to enable watchpoint code.
1995-05-22 * breakpoint.c, target.h: Move defaults of watchpoint relatedJim Kingdon3-109/+195
macros back to breakpoint.c. Required to get GDB compiling on Solaris again.
1995-05-19* defs.h (ATTR_FORMAT): New macro, expands to gcc's formatJ.T. Conklin3-5/+9
attribute when compiled by gcc. * defs.h, language.h, monitor.h: Changed many function declarations to use ATTR_FORMAT. * breakpoint.c (delete_command); source.c (directory_command); top.c (define_command): Changed call to query() that had too many arguments. * printcmd.c (address_info): Changed call to printf_filtered() that had too many arguments.
1995-05-19 * infrun.c (wait_for_inferior): Move assignments to stop_signalJim Kingdon1-0/+10
and stop_pc, and STOPPED_BY_WATCHPOINT code, back where they were--after the switch statement on w.kind. You can't read the registers of an inferior which has exited. Use a goto in the STOPPED_BY_WATCHPOINT code. * infrun.c (wait_for_inferior): Reinstate HAVE_STEPPABLE_WATCHPOINT and HAVE_CONTINUABLE_WATCHPOINT code.
1995-05-19 * utils.c, complaints.c, language.c, monitor.c, remote-array.c,Jim Kingdon8-25/+35
remote-mips.c, remote-os9k.c, remote-st.c: Conditionalize use of stdarg rather than varargs on ANSI_PROTOTYPES not __STDC__; it must match the definition of PARAMS. start-sanitize-gdbtk * gdbtk.c: Likewise. end-sanitize-gdbtk
1995-05-18 * utils.c (fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,J.T. Conklin16-65/+292
printf_filtered, printf_unfiltered, printfi_filtered, query, warning, error, fatal, fatal_dump_core): Use stdarg.h macros when compiling with an ANSI compiler. * complain.c (complain): Likewise. * language.c (type_error, range_error): Likewise. * monitor.c (monitor_printf, monitor_printf_noecho): Likewise. * remote-array.c (printf_monitor, debuglogs): Likewise. * remote-mips.c (mips_error): Likewise. * remote-os9k.c (printf_monitor): Likewise. * remote-st.c (printf_stdebug): Likewise. * gdbtk.c (gdbtk_query): Likewise. * defs.h, complain.h, language.h, monitor.h: Add prototypes to match above changes. * printcmd.c: Remove uneeded #include <varargs.h>. * remote-e7000.c: Likewise. * f-typeprint.c (f_type_print_base): Fix typo found by above changes.
1995-05-18 * Makefile.in (xcoffread.o): Depend on partial-stab.h.Jim Kingdon4-45/+66
* xcoffsolib.c (sharedlibrary_command): New command. * xcoffsolib.c (solib_info): Call xcoff_relocate_symtab. * xcoffsolib.c: Miscellaneous cleanups. * partial-stab.h: Ignore symbol descriptor '-' (for local variables with negative type numbers) without complaint. * rs6000-nat.c (vmap_ldinfo): Use bfd_stat rather than our own local emulation thereof. Remove unused variable ostart.
1995-05-18* Makefile.in (config.status): changed target so thatJ.T. Conklin2-5/+7
config.status --recheck is executed if configure script changes.
1995-05-17* monitor.c (monitor_printf): Changed format specification inJ.T. Conklin13-87/+312
error message to work with pre-ansi compilers. (monitor_load_srec): reduced length of s-records from 128 to 32 bytes so download is more reliable with the rom68k monitor. * rom68k-rom.c: Added trailing space to prompt string. * config/i386/xm-i386sco.h (HAVE_STRSTR): Removed. * config/i386/xm-go32.h, mswin/xm.h (SYS_SIGLIST_MISSING): Removed. * defs.h, config/{xm-lynx.h, xm-nbsd.h}, config/i386/{xm-i386bsd.h, xm-linux.h}, config/m68k/xm-hp300bsd.h, config/mips/xm-irix4.h, config/ns32k/xm-ns32km3.h, doc/gdbint.texinfo (PSIGNAL_IN_SIGNAL_H): Removed.
1995-05-16Fix arc sanitization.David Edelsohn1-1/+6
1995-05-16* configure.in: Added INIT-CMDS argument to AC_OUTPUT which setsJ.T. Conklin3-2/+19
gdb_host_cpu, gdb_target_cpu and nativefile. * configure: regenerated.
1995-05-16 * mdebugread.c (parse_symbol): Do not relocate stBlock/scTextPeter Schauer3-11/+19
symbols, their value is the displacement from the procedure address. * top.c (init_main): Add missing newlines to help strings for `if' and `while' commands, fix help string for `show commands'.
1995-05-16 * breakpoint.c: Move defaults of watchpoint related macros intoStu Grossman1-0/+9
target.h. Use BP_TEMPFLAG and BP_HARDWAREFLAG instead of constants. * infrun.c (wait_for_inferior): Enhance comment near STOPPED_BY_WATCHPOINT. * target.h: Macros from breakpoint.c.
1995-05-16* config/i386/{i386sol2.mh, i386v4.mh, ncr3000.mh},J.T. Conklin10-154/+2664
config/m68k/m68kv4.mh, config/mips/{irix4.mh, irix5.mh, mipsv4.mh}, config/sparc/sun4so2.mh (INSTALL): Removed, figured out by autoconf. * config/apollo68v.mh (RANLIB): Removed, figured out by autoconf. * Makefile.in, configure.in: Converted to use autoconf * aclocal.m4: New file, local autoconf macro definitions. * configure: New file, generated with autoconf 2.3.
1995-05-15 * remote.c (remote_kill): Add prototype.Stan Shebs1-1/+1
* cpu32bug-rom.c (cpu32bug_open): Properly define as static. * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1995-05-15 * remote.c (remote_kill): Add prototype.Stan Shebs2-1/+7
* cpu32bug-rom.c (cpu32bug_open): Properly define as static. * config/h8300/h8300hms.mt (TDEPFILES): Add monitor.o.
1995-05-15 * sparclite/salib.c (win_ovf win_unf): Make window size constantStu Grossman1-0/+6
into a variable (__WINSIZE) so that it can be controlled via the .h file. * sparclite/sparclite.h: Add SL933 #ifdef to set __WINSIZE to 6 for the 933 board.
1995-05-15(SER_HARDWIRE): Comment out for now.David Edelsohn1-1/+2
1995-05-15 * infrun.c: Add #ifdef HP_OS_BUG to all references toStu Grossman2-75/+57
trap_expected_after_continue. * (wait_for_inferior): Fix for remote watchpoints. Don't try to insert breakpoints while target is running (this only works on *some* native targets). This may also speed up native watchpoints considerably.
1995-05-13 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),Jim Kingdon2-5/+5
mdebugread.c (struct symloc), hpread.c (struct symloc), xcoffread.c (struct symloc): Fix inaccurate comment introduced 20 Apr 1995.
1995-05-13 * dwarfread.c (struct dwfinfo), dbxread.c (struct symloc),Jim Kingdon4-9/+12
mdebugread.c (struct symloc), hpread.c (struct symloc): Fix error in 20 Apr 1995 cleanup of comments.
1995-05-13 * gdb.stabs/xcoff.sed: Change N_LSYM to C_DECL not C_LSYM.Jim Kingdon1-0/+7
* gdb.stabs/weird.exp: Remove xfail for xcoff bitching about lack of a text section.
1995-05-13 * rs6000-tdep.c (find_toc_address): Revise comment.Jim Kingdon6-666/+1214
* symfile.c, symfile.h (init_psymbol_list): New function; consolidate duplicated copies from os9kread.c, dbxread.c and dwarfread.c. * defs.h: Declare info_verbose. * xcoffread.c: Extensive changes to support psymtabs.
1995-05-12 * cpu32bug-rom.c remote-est.c rom68k-rom.c: Update line_term element.Stu Grossman4-3/+7
1995-05-12* partial-stab.h: Expand comments.Jim Kingdon2-0/+15
1995-05-12 * Support debugging using native MACH primitives on hppa*-*-osf*.Jeff Law8-4/+241
* configure.in: hppa*-*-osf* != hppa*-*-bsd* anymore. * config/pa/hppaosf.mh: New file. * config/pa/nm-hppao.h: Likewise. * hppam3-nat.c: Likewise. * config/pa/tm-hppao.h (PSW_SS): Define for single-stepping. (MACHINE_CPROC_*_OFFSET): Define. (TRACE_*): Define. (START_INFERIOR_TRAPS_EXPECTED): Delete definition.
1995-05-11 * config/monitor.exp (gdb_target_monitor): Fix loop interator soStu Grossman1-1/+2
that loop eventually terminates. Fix Connection refused logic so that testsuite will expire nicely.
1995-05-11 * config/monitor.exp (gdb_target_monitor): Fix loop interator soStu Grossman2-1/+6
that loop eventually terminates.
1995-05-11 * hppa-tdep.c (read_unwind_info): Cosmetic cleanup.Stu Grossman5-60/+146
* (unwind_command): Clean it up and make it print things out nicer. * monitor.c: Add ^C handling capability (mostly ripped off from remote.c). * (monitor_printf): Make it check the command echo. * (monitor_printf_noecho): Similar to above, but doesn't check for echo. * (monitor_stop): No longer waits for prompt. That is the job of the caller. This makes things work much better for monitor_wait, which waits for the prompt itself. * (monitor_open): Deal with new monitor_stop semantics. Also, flush input after sending init strings to get rid of junk that may be output. Also, don't always send \r to remote. Use monitor_ops->line_term cuz proper character isn't always \r. * (monitor_fetch_register): Switch to completely different algorithm to deal with lame-ass monitors which put spaces in the middle of numbers, and prompt with a space!!!!! * (monitor_read_memory_single): New routine to be used with monitors that can only return one byte/short/long at a time. This is selected via MO_GETMEM_READ_SINGLE. * (monitor_load_srec): Use monitor_printf_noecho for sending S records. Most targets don't echo them. * (monitor.h): Get rid of cmd_delim. Add line_delim. * op50n-rom.c (op50n_cmds): Fill it up. Make it work. * w89k-rom.c: Change all eols from \r to \n. Change load_resp to ^Q to prevent error message. * config/pa/tm-hppa.h (CALL_DUMMY (for hppro)): Add special instruction sequence at end to make restore_pc_queue happy.
1995-05-11Reflect deletion of always-sanitize stuffStan Shebs1-20/+0
1995-05-11Blasting old junkStan Shebs7-6820/+0
1995-05-11 * config/cpu32bug.exp, config/est.exp, config/hppro.exp,Stu Grossman7-46/+178
config/rom68k.exp: New tcl glue for the appropriate monitors. These all just end up calling monitor.exp. * config/monitor.exp (gdb_target_monitor): Handle `Connection refused' by retrying. Cleanup some timeout issues. * (gdb_load): Reduce timeout. Cleanup some timeout issues. * lib/gdb.exp (gdb_test gdb_test_exact): Upvar timeout so that callers don't have to set/restore global timeout variable. * The following set of changes centralizes management of the global timeout variable. This way, it can be set in one target dependent place instead of dozens of places scattered throughout the test suite. If you need to lengthen a timeout, then you should either set timeout in one of the config/{target}.exp files, or multiply it by a factor. Setting it to an absolute value is always going to lose for some targets. * gdb.base/a1-selftest.exp (test_with_self): Only use local timeout. * gdb.base/callfuncs.exp (do_function_calls): Don't set timeout. * gdb.base/funcargs.exp: Don't set timeout. * gdb.base/list.exp (test_forward_search): Only use local timeout. * gdb.base/printcmds.exp (test_print_string_constants test_print_array_constants): Don't set timeout. * gdb.base/ptype.exp: Don't set timeout. * gdb.base/recurse.exp: Don't set timeout. * gdb.base/return.exp: Don't set timeout. * gdb.base/watchpoint.exp: Don't set timeout. * gdb.c++/classes.exp (do_tests): Don't set timeout. * gdb.c++/virtfunc.exp (test_virtual_calls): Don't set timeout.
1995-05-10Make clean targets work also when SUBDIRS is empty.Torbjorn Granlund1-0/+8
1995-05-10remote-est.c (est_open): Make static to match prototype.Torbjorn Granlund2-1/+5