This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Remote debugging


On Fri, Mar 19, 2004 at 10:13:40AM +0000, luca risso wrote:
> Hi,
> 
> I'm trying to debug an application running on a PPC board with Linux 2.4.25.
> 
> I'm new about this kind of environment so please don't be surprised if my 
> question seems too silly.
> Using GDBServer I can run the program on the target and set breakpoints to 
> stop a thread.
> I seems to me that should be possible (I've still not experinced that) also 
> to stop all threads of a process on the same breakpoint.
> 
> Now, is it possible someway to stop all processes running on the board?
> It would be useful when debugging processes sending messages to each other.
> Something similar is available using psos and VxWorks environments where 
> all processes seems to be "freezed" at a time.

No, it's not possible.  GDB can only manage one process at a time.

By the way, every time you stop a thread, GDB arranges for all threads
in that process to stop.  GDB doesn't currently support any other mode.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]