summaryrefslogtreecommitdiff
path: root/gdb/thread.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove else clause to #if UI_OUT.Andrew Cagney2002-01-171-25/+5
|
* Add ui_out parameter to libgdb functions.Andrew Cagney2001-09-181-9/+12
|
* Move libgdb library functions to gdb.h (new file).Andrew Cagney2001-07-281-0/+1
| | | | Update everything related to this.
* 2001-06-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-06-131-33/+42
| | | | | | | | | | | | * gdbthread.h (struct thread_info): Add new fields: current_line, current_symtab, step_sp, for saved infrun state. * thread.c (save_infrun_state, load_infrun_state): Save and restore current_line, current_symtab, and step_sp. (add_thread): Rather than adding assignments to initialize the new fields, just use memset (tp, 0, sizeof (*tp). This way future new fields will not be overlooked. * infrun.c (handle_inferior_event): Save and restore save_sp, current_line, and current_symtab when switching threads.
* 2001-06-01 Michael Snyder <msnyder@redhat.com>Michael Snyder2001-06-021-0/+17
| | | | | | | | | | | | | | | * thread.c (delete_step_resume_breakpoint): New function. Maintain internal consistency of the thread list while deleting a step_resume_breakpoint. * gdbthread.h (delete_step_resume_breakpoint): Export. * breakpoint.c (bpstat_find_step_resume_breakpoint): Make thread-aware: don't return a step_resume_breakpoint for the wrong thread. * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint instead of delete_breakpoint_current_contents. (fetch_inferior_event): Ditto. (handle_inferior_event): Call delete_step_resume_breakpoint instead of delete_breakpoint.
* * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_beginJim Blandy2001-05-121-2/+2
| | | | | and ui_out_tuple_end instead of ui_out_list_begin and ui_out_list_end.
* Phase 1 of the ptid_t changes.gdb-post-ptid_t-2001-05-03Kevin Buettner2001-05-041-59/+59
|
* 2001-04-17 Eirik Fuller <eirik@netapp.com>Michael Snyder2001-04-171-1/+1
| | | | | * thread.c (do_captured_thread_select): Allow the argument to the thread command to be an expression rather than a literal integer.
* Update/correct copyright notices.Kevin Buettner2001-03-061-3/+4
|
* Create new file regcache.h. Update all uses.Andrew Cagney2001-03-011-0/+1
|
* 2001-01-24 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-01-261-3/+3
| | | | | | | | | | | | | | | | | * remote-udi.c (udi_open): Change strdup to xstrdup. * thread.c (thread_apply_all_command): Change strdup to xstrdup. Update copyright message. * varobj.c (delete_variable_1): Likewise. * gdb_string.h: Remove declaration of strdup. Update copyright message. * config/xm-mpw.h: Likewise. * config/i386/xm-i386mach.h: Likewise. * config/m68k/xm-apollo68b.h: Likewise. * config/m68k/xm-hp300bsd.h: Likewise. * config/rs6000/xm-rs6000.h: Likewise. * config/vax/xm-vaxult.h: Remove declaration of strdup. * config/vax/xm-vaxult2.h: Likewise.
* Replace free() with xfree().Kevin Buettner2000-12-151-5/+5
|
* * thread.c (thread_apply_all_command): Save the command before executing itChristopher Faylor2000-11-171-0/+16
| | | | | | because it may be modified. Restore the saved command so that the same command is executed on next thread. (thread_apply_command): Same correction.
* Protoization.Kevin Buettner2000-10-281-3/+2
|
* Protoization.gdb-post-protoization-2000-07-29Kevin Buettner2000-07-301-83/+36
|
* 2000-07-21 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder2000-07-221-0/+4
| | | | * thread.c (thread_apply_all_command): Update thread list first.
* * thread.c (free_thread): New function.Nicholas Duffek2000-07-191-15/+19
| | | | | | (init_thread_list): Always zero highest_thread_num. Call free_thread() instead of free(). (delete_thread): Move thread cleanup code to free_thread().
* Purge last remaining make_cleanup_func.Andrew Cagney2000-06-071-4/+28
|
* PARAMS removal.gdb-post-params-removal-2000-05-28Kevin Buettner2000-05-281-10/+10
|
* import gdb-2000-02-02 snapshotJason Molenda2000-02-031-0/+51
|
* import gdb-2000-01-17 snapshotJason Molenda2000-01-181-7/+21
|
* import gdb-2000-01-10 snapshotJason Molenda2000-01-111-39/+63
|
* import gdb-1999-09-08 snapshotStan Shebs1999-09-091-1/+1
|
* import gdb-1999-08-23 snapshotJason Molenda1999-08-231-10/+6
|
* import gdb-1999-07-07 post reformatJason Molenda1999-07-071-102/+106
|
* import gdb-1999-06-07 snapshotJason Molenda1999-06-071-66/+0
|
* import gdb-1999-05-25 snapshotJason Molenda1999-05-251-0/+1
|
* import gdb-19990504 snapshotStan Shebs1999-05-051-7/+3
|
* import gdb-19990422 snapshotStan Shebs1999-04-261-2/+3
|
* Initial revisionStan Shebs1999-04-161-0/+721