~ubuntu-branches/debian/jessie/gdb/jessie

« back to all changes in this revision

Viewing changes to gdb/gdbthread.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Jacobowitz
  • Date: 2010-03-20 01:21:29 UTC
  • mfrom: (1.3.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20100320012129-t7h25y8zgr8c2369
Tags: 7.1-1
* New upstream release, including:
  - PIE support (Closes: #346409).
  - C++ improvements, including static_cast<> et al, namespace imports,
    and bug fixes in printing virtual base classes.
  - Multi-program debugging.  One GDB can now debug multiple programs
    at the same time.
  - Python scripting improvements, including gdb.parse_and_eval.
  - Updated MIPS Linux signal frame layout (Closes: #570875).
  - No internal error stepping over _dl_debug_state (Closes: #569551).
* Update to Standards-Version: 3.8.4 (no changes required).
* Include more relevant (and smaller) docs in the gdbserver package
  (Closes: #571132).
* Do not duplicate documentation in gdb64, gdb-source, and libgdb-dev.
* Fix crash when switching into TUI mode (Closes: #568489).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* Multi-process/thread control defs for GDB, the GNU debugger.
2
2
   Copyright (C) 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1997, 1998, 1999,
3
 
   2000, 2007, 2008, 2009 Free Software Foundation, Inc.
 
3
   2000, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
4
4
   Contributed by Lynx Real-Time Systems, Inc.  Los Gatos, CA.
5
5
   
6
6
 
187
187
 
188
188
  /* Private data used by the target vector implementation.  */
189
189
  struct private_thread_info *private;
 
190
 
 
191
  /* Function that is called to free PRIVATE.  If this is NULL, then
 
192
     xfree will be called on PRIVATE.  */
 
193
  void (*private_dtor) (struct private_thread_info *);
190
194
};
191
195
 
192
196
/* Create an empty thread list, or empty the existing one.  */
246
250
/* Returns any thread of process PID.  */
247
251
extern struct thread_info *any_thread_of_process (int pid);
248
252
 
 
253
/* Returns any non-exited thread of process PID, giving preference for
 
254
   already stopped threads.  */
 
255
extern struct thread_info *any_live_thread_of_process (int pid);
 
256
 
249
257
/* Change the ptid of thread OLD_PTID to NEW_PTID.  */
250
258
void thread_change_ptid (ptid_t old_ptid, ptid_t new_ptid);
251
259
 
342
350
   INFERIOR_PTID.  INFERIOR_PTID *must* be in the thread list.  */
343
351
extern struct thread_info* inferior_thread (void);
344
352
 
 
353
extern void update_thread_list (void);
 
354
 
345
355
#endif /* GDBTHREAD_H */