aboutsummaryrefslogtreecommitdiff
path: root/gdb/infrun.c
AgeCommit message (Collapse)AuthorFilesLines
2000-04-05 * infrun.c (handle_inferior_event): Call target_mourn_inferiorNicholas Duffek1-6/+6
instead of kill_target.
2000-03-282000-03-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Michael Snyder1-0/+19
breakpoint.c, breakpoint.h (remove_hw_watchpoints): New function. infrun.c (resume): Remove hardware watchpoints before stepping when CANNOT_STEP_HW_WATCHPOINTS is nonzero.
2000-02-29Add more checks for no stack frame.Andrew Cagney1-1/+2
2000-02-23Add mi/ and testsuite/gdb.mi/ subdirectories.Andrew Cagney1-0/+23
Add --enable-gdbmi option to configury. Add mi rules to Makefile.in Add mi conditional output to event-top.c infrun.c main.c top.c. Add -i=mi option.
2000-02-09Replace ../include/wait.h with gdb_wait.h.Andrew Cagney1-1/+1
2000-02-05import gdb-2000-02-04 snapshotJason Molenda1-6/+7
2000-02-03import gdb-2000-02-02 snapshotJason Molenda1-0/+47
2000-01-18import gdb-2000-01-17 snapshotJason Molenda1-8/+8
2000-01-06import gdb-2000-01-05 snapshotJason Molenda1-22/+6
1999-12-14import gdb-1999-12-13 snapshotJason Molenda1-0/+11
1999-12-07import gdb-1999-12-06 snapshotJason Molenda1-26/+38
1999-11-09import gdb-1999-11-08 snapshotJason Molenda1-30/+96
1999-10-19import gdb-1999-10-18 snapshotJason Molenda1-65/+25
1999-10-05import gdb-1999-10-04 snapshotJason Molenda1-31/+4
1999-09-28import gdb-1999-09-28 snapshotJason Molenda1-58/+29
1999-09-22import gdb-1999-09-21Jason Molenda1-59/+96
1999-09-09import gdb-1999-09-08 snapshotStan Shebs1-171/+280
1999-08-31import gdb-1999-08-30 snapshotJason Molenda1-118/+186
1999-08-23import gdb-1999-08-23 snapshotJason Molenda1-3/+9
1999-08-16import gdb-1999-08-16 snapshotJason Molenda1-1/+1
1999-08-09import gdb-1999-08-09 snapshotJason Molenda1-177/+101
1999-08-02import gdb-1999-08-02 snapshotJason Molenda1-49/+65
1999-07-19import gdb-1999-07-19 snapshotJason Molenda1-1/+4
1999-07-07import gdb-1999-07-07 post reformatJason Molenda1-1599/+1602
1999-07-05import gdb-1999-07-05 snapshotJason Molenda1-7/+116
1999-06-14import gdb-1999-06-14 snapshotJason Molenda1-0/+3
1999-05-25import gdb-1999-05-25 snapshotJason Molenda1-1/+27
1999-05-19import gdb-1999-0519Jason Molenda1-1/+1
1999-05-11import gdb-1999-05-10Stan Shebs1-280/+377
1999-05-05import gdb-19990504 snapshotStan Shebs1-52/+87
1999-04-26import gdb-19990422 snapshotStan Shebs1-251/+263
1999-04-16Initial creation of sourceware repositorygdb-4_18-branchpointStan Shebs1-0/+3775
1999-04-16Initial creation of sourceware repositoryStan Shebs1-3735/+0
1999-01-29Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-5/+7
* infrun.c (_initialize_infrun): do not stop or print anything when a SIGWINCH is received.
1999-01-13Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder1-4/+46
* infrun.c (set/show scheduler-locking) New command. Set a mode bit that will control how GDB attempts to control thread scheduling for step, continue, etc. (resume): make use of the schedule-locking mode. * target.h (struct target_ops): new field to_has_thread_control. * sol-thread.c: initialize target_ops to_has_thread_control. * procfs.c: ditto. * target.c: ditto. * m3-nat.c: ditto. * remote.c: ditto. * hpux-thread.c: ditto.
1999-01-06cosmetic fixups, mainly long lines.Michael Snyder1-144/+186
1998-12-31all remaining *.c *.h files from hp merge.David Taylor1-106/+1428
1998-11-27CARP:Andrew Cagney1-27/+43
STEP_SKIPS_DELAY - add STEP_SKIPS_DELAY_P and rewrite use removing #ifdef's. NO_SINGLE_STEP - replace with SOFTWARE_SINGLE_STEP_P + SOFTWARE_SINGLE_STEP. Replace global variable one_stepped with static singlestep_breakpoints_inserted_p. Cleanup infrun.c (scary!).
1998-04-11Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)Jason Molenda1-3/+9
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.
1998-04-04 * infrun.c: Fix prototype of signals_info to match static funtion.Dawn Perchik1-19/+73
1997-04-03 * mips-tdep.c (mips_in_call_stub, mips_in_return_stub,Mark Alexander1-28/+29
mips_skip_stub, mips_ignore_helper): New functions for dealing with MIPS16 call/return thunks. (mips_init_frame_pc_first): New function to implement INIT_FRAME_PC_FIRST macro; includes code from old macro plus new code to skip over MIPS16 thunks. (mips_frame_chain): Skip over MIPS16 thunks. * config/mips/tm-mips.h (mips_in_call_stub, mips_in_return_stub, mips_skip_stub, mips_ignore_helper): Declare. (IN_SOLIB_CALL_TRAMPOLINE, IN_SOLIB_RETURN_TRAMPOLINE, SKIP_TRAMPOLINE_CODE, IGNORE_HELPER_CALL): New macros that invoke the above functions. (INIT_FRAME_PC_FIRST): Change to invoke mips_init_frame_pc. (mips_init_frame_pc): Declare. * infrun.c (wait_for_inferior): Use new IGNORE_HELPER_CALL macro to decide if certain library function calls should be ignored.
1996-07-26See gdb ChangeLog entry with header:Fred Fish1-21/+23
Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com> for a rather huge set of changes. I was going to put them here, but it made cvs dump core. :-(
1996-05-09 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,Stu Grossman1-1/+1
infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c, win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to avoid conflict with Solaris /usr/include/thread.h.
1996-05-06 * fork-child.c (fork_inferior), inferior.h: init_trace_fun nowStu Grossman1-21/+28
returns a possibly modified pid. * inftarg.c (ptrace_him): Now returns pid; * m3-nat.c (m3_trace_him): Now returns pid; * infcmd.c (run_command): Minor cleanup. * infrun.c (wait_for_inferior): Add another check for one_stepped near where we read the pc to avoid erroneously setting random_signal for multi-threaded support. * procfs.c: Add support for Solaris LWPs. Remove def of LOSING_POLL. Many cleanups... Several workarounds for Solaris lossage. System call entry and exit are now handled by dynamically registered handlers. * (syscallname): Don't barf when handed an unknown syscall number. * (info_proc_syscalls): Ditto. * sol-thread.c: New file. Implements Solaris thread support. * symfile.c (symbol_file_add): Add call to target_new_objfile to notify target-dependent code about new symbol tables. * (clear_symtab_users): Call target_new_objfile to notify it of the removal of all symbol tables. * target.c (push_target): Make sure that to_close is non-zero before calling it. * target.h (target_new_objfile): Provide default. * config/alpha/nm-osf2.h: Define LOSING_POLL because this version of OSF can't hack using poll with /proc. * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be sol-thread-new-objfile. * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and add libthread_db.so.1 to NAT_CLIBS. * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and target_pid_to_str.
1996-04-28Remove some #if 0 code which creeped into wait_for_inferior duringJeff Law1-4/+0
my previous change.
1996-04-27 * infrun.c (wait_for_inferior): Call registers_changed whenJeff Law1-0/+6
restarting the inferior to get over a nullified instructions. Fixes PA testsuite regressions.
1996-04-24 * infrun.c (wait_for_inferior): Move "have_waited" labelJeff Law1-5/+25
outside of #ifdef conditionals. Don't trash the wait status if we get a signal and the current instruction is nullified. Fixes long standing problem on the PA (spurious SIGTRAPs)..
1996-03-27 * From Peter Schauer.Jeff Law1-7/+8
* breakpoint.c (breakpoint_re_set_one): Keep temporary breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy and bp_step_resume in case breakpoint_re_set_one is called due to a step over a dlopen call. * infrun.c (wait_for_inferior): Always remove breakpoints from inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
1996-03-04 * From Peter Schauer:Jeff Law1-2/+16
* infrun.c (wait_for_inferior): Remove breakpoints and switch terminal settings before calling SOLIB_ADD. * solib.c (enable_break, SVR4 variant): Don't map in symbols for the dynamic linker, the namespace pollution causes real problems.
1996-01-23 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.Jeff Law1-3/+83
All references changed. * breakpoint.c (bpstat_what): Add shlib_event to the class types. Update state table. Reformat so that it's still readable. When we hit the shlib_event breakpoint, set the calss of shlib_event. (breakpoint_1): Add "shlib events" as a breakpoint type. Print the shlib_event breakpoint like other breakpoints. (create_solib_event_breakpoint): New function. (breakpoint_re_set_one): Handle solib_event breakpoints. * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type. (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS action. (create_solib_event_breakpoint): Declare. * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat. (normal_stop): Inform the user when the inferior stoped due to a shared library event. (_initialize_infrun): Add new set/show variable "stop_on-solib-events" to control whether or not gdb continues the inferior or stops it when a shared library event occurs. * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function. * somsolib.c (TODO list): Update. (som_solib_create_inferior_hook): Arrange for gdb to be notified when significant shared library events occur. * hppa-tdep.c (find_unwind_entry): No longer static. First cut at the machine independent changes for 7363. Also includes code to automatically track shl_load/shl_unload calls on hpux.