aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
1997-05-01Thu May 1 11:44:46 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-142/+158
* Finalize merge from Hurd folk. Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu> * thread.c (thread_apply_command, thread_apply_all_command, thread_command): Make sure TP is alive. (thread_alive): New function. Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu> * infrun.c (sig_print_info): Deal better with long signal names. Wed Nov 22 15:23:35 1995 Miles Bader <miles@gnu.ai.mit.edu> * thread.c (thread_id_to_pid): New function. Fri Dec 1 13:25:25 1995 Miles Bader <miles@gnu.ai.mit.edu> * gnu-nat.c: (set_thread_cmd_list, show_thread_cmd_list, set_thread_default_cmd_list, show_thread_default_cmd_list): New variables. (set_thread_cmd, show_thread_cmd, set_thread_default_cmd, show_thread_default_cmd): New functions. Fri Apr 18 15:20:16 1997 Miles Bader <miles@gnu.ai.mit.edu> * gnu-nat.c (inf_startup): remove TASK parameter. (inf_set_task): replace with new function (inf_set_pid). * gdbthread.h: Add extern decl for thread_cmd_list.
1997-05-01 * printcmd.c (disassemble_command): Adjust low function boundPeter Schauer1-0/+5
by FUNCTION_START_OFFSET.
1997-04-30Define TiC80 break point (tmp)Andrew Cagney2-1/+29
1997-04-29Mon Apr 28 21:25:32 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-96/+181
* Makefile.in: Add rule for gnu-nat.o and i386gnu-nat.o (Gnu Hurd) * config/i386/i386gnu.mh: remove rules for [i386]gnu-nat.o, now in Makefile.in (as for other targets); add NATDEPFILE corelow.o to satisfy symbol dependancy in solib.c (core_ops). * target.[ch] conditionalize Mach-specific signals so that they won't show up in non-Mach gdb's! * thread.c: add function thread_id_to_pid; change name of static function "thread_switch" to "switch_to_thread", to avoid conflict with Mach global symbol; move thread_cmd_list to global scope so targets can add their own thread commands. * infrun.c: sig_print_info: allow for long signal names. * gnu-nat.[ch]: tidying up comments. * gnu-nat.c: move several functions to static scope, just for tidy; remove calls to prune_threads and renumber_threads; gnu_wait must not return -1 when inferior exits; attach_to_child will modify inferior_pid in a way that allows fork_inferior to remain unchanged; remove extra arg from startup_inferior; move mach-specific thread commands here from thread.c.
1997-04-29Mon Apr 28 18:21:20 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-0/+5
* symtab.c: decode_line_1, replace the assignment to values.sals[0].pc which I accidentally left out on 4/3/97.
1997-04-29Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-12/+24
* c-exp.y, java-exp.y: make parse_number reject "123DEADBEEF". (fix by Bob Manson).
1997-04-29Mon Apr 28 17:27:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder3-2/+12
* top.c: change "to enable to enable" to "to enable" in a couple of help strings.
1997-04-28 * breakpoint.c (remove_breakpoint): Pass correct type toMark Alexander2-16/+36
target_remove_watchpoint. * target.h: Improve comment for target_{remove,insert}_breakpoint.
1997-04-26 * alpha-tdep.c (heuristic_proc_desc): Increase search limitPeter Schauer2-8/+18
for return address register, handle `ret' instruction.
1997-04-26 * corelow.c (get_core_registers): Initialize cf.Peter Schauer3-14/+45
* procfs.c: Minor changes to make pre-ANSI compilers happy. (procfs_notice_signals): Copy traced signal set back to pi->prrun.pr_trace. (unconditionally_kill_inferior): If PR_DEAD is defined, rerun inferior after killing it.
1997-04-25 * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS): TheJeff Law3-4/+10
structure value address is found in $a0 now. * config/mn10200/tm-mn10200.h (EXTRACT_STRUCT_VALUE_ADDRESS): Likewise. Fixes some struct.exp failures.
1997-04-24 * gdb.base/callfuncs.exp: Mark some tests as expected to failJeff Law1-0/+5
on the mn10300.
1997-04-24 * config/mn10300/tm-mn10300.h (STORE_RETURN_VALUE): Pointers areJeff Law2-2/+18
returned in $a0. (EXTRACT_RETURN_VALUE): Likewise. * mn10300-tdep.c (mn10300_analyze_prologue): Check for a return insn at "pc", not "fi->pc".
1997-04-24Fix? some reg definitionsAndrew Cagney2-13/+34
1997-04-23Wed Apr 23 11:18:45 1997 Jeffrey A Law (law@cygnus.com)Jeff Law2-0/+14
* config/mn10200/tm-mn10200.h (STORE_RETURN_VALUE): Pointers are returned in $a0. (EXTRACT_RETURN_VALUE): Likewise.
1997-04-22 * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Define to useFred Fish1-0/+12
floatformat_ieee_double_littlebyte_bigword for little endian target byte order. * utils.c (floatformat_to_doublest): Create local preswapped copy of input for floatformat_littlebyte_bigword formats. (get_field, put_field): Treat floatformat_littlebyte_bigword the same as floatformat_little. (floatformat_from_doublest): Postswap output words for the floatformat_littlebyte_bigwords format.
1997-04-22TIc80 simulator checkpoint - runs 3 instructions - trap, addu, br.a.Andrew Cagney2-2/+8
1997-04-22 * config/alpha/alpha-osf3.mh config/i386/{i386gnu linux}.mhStu Grossman12-20/+21
config/mips/{embed embed64 embedl embedl64 vr4300 vr4300el vr5000 vr5000el}.mt config/powerpc/{aix aix4}.mh config/rs6000/{aix aix4}.mh config/sh/sh.mt config/sparc/sp64sim.mt: start-sanitize-v850 config/v850/v850.mt: end-sanitize-v850 Remove -lm. That's now handled by configure.
1997-04-22 * Makefile.in (maintainer-clean): Add distclean to dependencies.Stu Grossman2-4/+6
Remove duplicate rm's of files.
1997-04-22 * gdb.base/a2-run.exp: Add arm-*-coff setup_xfails for casesFred Fish1-0/+6
where the test executable is run with explicit args. * gdb.base/default.exp: Handle arm-*-coff case for "info float".
1997-04-21 * gdb.base/run.c: Use FAKEARGV to build test executable thatFred Fish1-0/+16
does not require a command line arg, since most simulators don't currently support passing such an arg into the simulated program. * gdb.base/commands.exp: Change tests to insert the proper value as the arg to the first recursive factorial call. Change compilation line to define FAKEARGV at compile time.
1997-04-21 * gdbtk.c (gdb_disassemble): Store endian-ness in `di'.David Edelsohn2-2/+8
1997-04-21One more removal of internal Cygnus stuffStan Shebs1-4/+1
1997-04-21Fix various standards violations.Stan Shebs1-17/+15
1997-04-21 * remote-pa.c: Remove. It's broken and no longer necessary.Stu Grossman2-1561/+4
1997-04-19 * java-exp.y: Combine TRUE and FALSE into BOOLEAN_LITERAL.Per Bothner2-12/+17
(Avoids name clash with broken AIX header files.)
1997-04-19 * serial.c (serial_log_command): Fix fputs_unfiltered calls.Peter Schauer2-3/+5
1997-04-19 * config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.hPeter Schauer2-9/+2
(DONT_RELOCATE_SYMFILE_OBJFILE): Removed.
1997-04-19 * config/powerpc/tm-ppc-aix4.h, config/rs6000/tm-rs6000-aix4.hPeter Schauer6-114/+267
(DONT_RELOCATE_SYMFILE_OBJFILE): Removed. * xcoffsolib.h (struct vmap): Add new members tvma, toffs and dvma, remove tadj. * exec.c (bfdsec_to_vmap): Initialize new vmap members, initialize tstart and dstart with section VMA. * rs6000-nat.c (vmap_symtab): Relocate relative to the VMA in the object file. (vmap_ldinfo, xcoff_relocate_core): Adjust tstart by section offset of the text section, remove DONT_RELOCATE_SYMFILE_OBJFILE hack. (vmap_exec): Relocate relative to the VMA in the object file, relocate .bss section as well. (xcoff_relocate_core): No longer adjust section addresses by VMA. * rs6000-tdep.c (find_toc_address): Change type of tocbase to CORE_ADDR. * xcoffread.c (secnum_to_bfd_section): New routine to get BFD section from CS section number. (scan_xcoff_symtab): Make toc_offset section relative. * symtab.c (total_number_of_methods): Avoid core dump if baseclass type is still undefined.
1997-04-19 * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans upStu Grossman1-0/+1
that directory. * defs.h utils.c (error warning): Make message be const. * main.c (fputs_unfiltered): Only send gdb_stdout and gdb_stderr to hook. Otherwise send it to fputs. * monitor.c monitor.h (monitor_get_dev_name): New function. Does the obvious. * remote-e7000.c: Remove debugify stuff. Change printf, fprintf to _filtered forms to make output appear in GUIs. Replace all uses of SERIAL_READCHAR with readchar, which has better error checking. * (e7000_parse_device): Add prototype. * (readchar): Improve doc. Handle random serial errors. * (expect): Disable notice_quit code. It's busted. Remove serial error handling (it's now handled in readchar). Remove remote_debug echoing. That's handled in readchar as well. * (e7000_parse_device): Remove serial_flag arg. It's not necessary. * (e7000_open): Split into two pieces. Second part is e7000_start_remote, and is error protected. Now, when we connect to the target, we setup the initial frame and registers so that the user gets an immediate indication of where the target is. * (gch): Remove debug output. That's handled by readchar. * (e7000_read_inferior_memory): Handle errors better. * (_initialize_remote_e7000): Get rid of `<xxx>' things from command names. They show up when doing completion and confuse things horribly. * ser-e7kpc.c: Remove the last seven months of brain damage. Get rid of the DLL's since we can access the device directly from Win32s and Win95. Get rid of debugify crud. * serial.c: Remove debugify cruft. * (serial_logchar serial_log_command serial_write serial_readchar serial_send_break serial_close): Merge common functionality into serial_logchar. Clean up rest of routines. * sparclet-rom.c: Disembowel. Leave only download routine. Download routine now switches to remote target automatically. * top.c (disconnect): Only define if SIGHUP is defined. Cleans up MSVC/Win32 problem. * utils.c (gdb_flush): Don't call hook unless it's for gdb_stdout or gdb_stderr. * config/sh/tm-sh.h: Define TARGET_SH for WinGDB. * config/sparc/tm-sparclet.h: Remove override for prompt.
1997-04-19 * Makefile.in (SUBDIRS): Add mswin so that make cleanup cleans upStu Grossman9-506/+488
that directory. * defs.h utils.c (error warning): Make message be const. * main.c (fputs_unfiltered): Only send gdb_stdout and gdb_stderr to hook. Otherwise send it to fputs. * monitor.c monitor.h (monitor_get_dev_name): New function. Does the obvious. * remote-e7000.c: Remove debugify stuff. Change printf, fprintf to _filtered forms to make output appear in GUIs. Replace all uses of SERIAL_READCHAR with readchar, which has better error checking. * (e7000_parse_device): Add prototype. * (readchar): Improve doc. Handle random serial errors. * (expect): Disable notice_quit code. It's busted. Remove serial error handling (it's now handled in readchar). Remove remote_debug echoing. That's handled in readchar as well. * (e7000_parse_device): Remove serial_flag arg. It's not necessary. * (e7000_open): Split into two pieces. Second part is e7000_start_remote, and is error protected. Now, when we connect to the target, we setup the initial frame and registers so that the user gets an immediate indication of where the target is. * (gch): Remove debug output. That's handled by readchar. * (e7000_read_inferior_memory): Handle errors better. * (_initialize_remote_e7000): Get rid of `<xxx>' things from command names. They show up when doing completion and confuse things horribly. * ser-e7kpc.c: Remove the last seven months of brain damage. Get rid of the DLL's since we can access the device directly from Win32s and Win95. Get rid of debugify crud. * serial.c: Remove debugify cruft. * (serial_logchar serial_log_command serial_write serial_readchar serial_send_break serial_close): Merge common functionality into serial_logchar. Clean up rest of routines. * sparclet-rom.c: Disembowel. Leave only download routine. Download routine now switches to remote target automatically. * top.c (disconnect): Only define if SIGHUP is defined. Cleans up MSVC/Win32 problem. * utils.c (gdb_flush): Don't call hook unless it's for gdb_stdout or gdb_stderr. * config/sh/tm-sh.h: Define TARGET_SH for WinGDB. * config/sparc/tm-sparclet.h: Remove override for prompt.
1997-04-18 * remote-sim.c (gdbsim_open): Only pass -E to sim_open ifDavid Edelsohn2-3/+13
TARGET_BYTE ORDER_SELECTABLE.
1997-04-18Ref gdb/11763 - can't stop a running simulator:Andrew Cagney3-13/+107
o Provide poll_quit callback to simulators so that they can poll for SIGINT on clueless OS's. o Add sim_stop to simulators so that clients can request a halt (eg gdbtk's STOP button) Works for PPC! o Re-arange remote-sim.c so that the hard work is moved from gdbsim_resume() to gdbsim_wait() (where it should be).
1997-04-18Add new Java files.Per Bothner1-0/+4
1997-04-18 * defs.h (enum language): Add language_java.Per Bothner8-33/+2173
* java-exp.y, java-lang.c, java-lang.h, java-valprint.c: New files. * Makefile.in: Upadte for new files. * objfiles.c (allocate_objfile): Allow NULL bfd argument. * symfile.c (deduce_language_from_filename): Recognize .java.
1997-04-17Change FIXME comment - should replace bubble sort by merge sort, not qsort.Per Bothner1-2/+1
1997-04-17 * m32r-stub.c (stash_registers): Rewrite.David Edelsohn1-0/+6
(restore_registers): Renamed to restore_and_return. (cleanup_stash): New function. (process_exception): New function. (_catchException*): Rewrite.
1997-04-17 (gdbsim_open): Pass endian indicator as arg.David Edelsohn1-0/+1
[forgot this]
1997-04-17 * remote-sim.c (gdbsim_load): Update call to sim_load.David Edelsohn2-12/+17
(gdbsim_create_inferior): No longer pass start_address to sim_create_inferior. (gdbsim_open): Pass endian indicator as arg.
1997-04-16 * remote.c (get_offsets): Don't use scanf for interpretingStan Shebs1-0/+5
response to qOffsets.
1997-04-15 * gdbserver/Makefile.in (INSTALL_XFORM): Remove.Ian Lance Taylor1-0/+13
(INSTALL_XFORM1): Remove. (install-only): Use $(program_transform_name) directly, rather than using $(INSTALL_XFORM) and $(INSTALL_XFORM1). (uninstall): Transform name.
1997-04-15 * remote-mips.c (mips_load): Ensure that PC gets updatedMark Alexander1-4/+4
after a load on LSI target.
1997-04-14Mon Apr 14 15:54:51 1997 Geoffrey Noer <noer@pizza.cygnus.com>Geoffrey Noer2-1/+5
* procfs.c (notice_signals): fix typo
1997-04-14 * gdbserver/Makefile.in (INSTALL): Change install.sh toIan Lance Taylor1-0/+5
install-sh.
1997-04-14Mon Apr 14 11:55:27 1997 Geoffrey Noer <noer@pizza.cygnus.com>Geoffrey Noer2-1/+6
* config/i386/cygwin32.mh: remove -lkernel32 from XM_CLIBS since gcc automatically includes it
1997-04-10Thu Apr 10 13:20:53 1997 Geoffrey Noer <noer@cygnus.com>Geoffrey Noer4-183/+1113
* procfs.c: Substantial (but incomplete) changes to support sysv4.2mp procfs as implemented in UnixWare 2.1. The procinfo struct now has substructs like struct flt_ctl instead of just a fltset_t and has a ctl_fd, status_fd, as_fd, and map_fd instead of a single fd. Non-sysv4.2mp procfs models still have the structs and multiple fds, but don't use the entire struct and the four fds all point to the same thing. We use PROCFS_USE_READ_WRITE to decide whether to talk to procfs with reads/writes or use ioctl instead. We use HAVE_MULTIPLE_PROC_FDS to determine whether procfs really has multiple fds or not. PROC_NAME_FMT is split out into CTL_PROC_NAME_FMT, AS_PROC_NAME_FMT, MAP_PROC_NAME_FMT, STATUS_PROC_NAME_FMT. (procfs_notice_signals): now a necessary wrapper around (notice_signals): which are the new guts for noticing signals (open_proc_file): gets a new flag arg used in sysv4.2mp to determine whether or not to attempt to open the ctl_fd. (procfs_read_status): new local function, reads procfs status (procfs_write_pcwstop): new local function, writes a PCWSTOP (procfs_write_pckill): new local function, writes a PCKILL (unconditionally_kill_inferior): remove signo since we now just call procfs_write_pckill(). (procfs_xfer_memory): call lseek with SEEK_SET rather than 0 (proc_iterate_over_mappings): the whole function is ifdefed on UNIXWARE to keep things readable. Expanded the syscall_table to include new potential sysv4.2mp members. Note that all ifdefs of UNIXWARE should be eliminated if possible or renamed to describe what's being selected for a bit better. Sysv4.2mp and IRIX both have SYS_sproc so the IRIX specific code now also checks it's not UNIXWARE. * config/i386/tm-i386v42mp.h: also define HAVE_PSTATUS_T, HAVE_NO_PRRUN_T, PROCFS_USE_READ_WRITE, and UNIXWARE * config/mips/nm-irix4.h: set CTL_PROC_NAME_FMT et al to "/debug/%d" as PROC_NAME_FMT used to be
1997-04-09 * mn10300-tdep.c: Almost completely rewritten based on mn10200Jeff Law2-21/+38
port. * config/mn10300/tm-mn10300.h: Likewise. === gdb Summary === # of expected passes 3890 # of unexpected failures 8 # of expected failures 39 # of unresolved testcases 1
1997-04-09 * gdb.base/watchpoint.exp(test_watchpoint_triggered_in_syscall):Bob Manson2-2/+12
Don't call gdb_test when the command doesn't return to a gdb prompt. Oops.
1997-04-09 Fix typo.Bob Manson1-1/+1
1997-04-09 * lib/gdb.exp(gdb_stop_suppressing_tests): Don't print gratiutiousBob Manson1-0/+5
"Tests restarted" messages.