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] |
Hi All, To make my understanding clear about the working of gdb. I have the following question :
Q1 : If my simulator has its memory "Buff[MAX_MEMORY]" and its own stack and frames in some part of this Buff. Now how is the gdb stack and frames different from the stak and frames in my simulator(memory), are they same? If different whats the logic? and how does it functions?
If both are same how do we relate each other ?
Q2 : I want to execute hex file , but i have symbols in a coff file , so
does the command
(gdb) target sim (gdb) symbol-file XXX.out (gdb) load XXX.hex (gdb) run
Are these command ok?
(gdb) file foo (gdb) target sim (gdb) load (gdb) run
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |