gdb frame
Andrew Cagney
cagney@gnu.org
Tue Mar 2 01:26:00 GMT 2004
> 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 ?
Sorry, I don't understand the question.
> 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?
That works, although the simpler:
(gdb) file foo
(gdb) target sim
(gdb) load
(gdb) run
also works.
Andrew
More information about the Gdb
mailing list