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: The question about the relation between gdb and the programme deb ugged


On Jun 10, 10:11am, Lawrence Lee (Shanghai) wrote:

> I want to know the relation between the gdb and the object programme being
> debugged. Does the gdb load the object programme into  gdb's memory spaces
> so that gdb can access the varible of the programme? Or the gdb and the
> object programme are different processes which have different memory
> spaces?

The latter; gdb and the program being debugged are separate processes.

Kevin


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