* Update sources for gdb without exiting
@ 2004-06-17 6:43 L P
2004-06-17 13:06 ` Daniel Jacobowitz
0 siblings, 1 reply; 3+ messages in thread
From: L P @ 2004-06-17 6:43 UTC (permalink / raw)
To: gdb
Hello,
I understand that this must be somewhere, I studied a lot of
docs, internet, etc. but still can not achieve the result:
I cross-develop and have the following in my .gdbinit:
define o9
set mpcbdm_adapter 2
target mpcbdm 0
add-symbol-file ./Debug/dtc
load ./Debug/dtc
printf "Executable was loaded\n"
end
o9
Now, while in gdb, I change something in the code, recompile
it and back in gdb call "o9" - gdb always says that source
file is newer then executable. I tried "kill, o9" and many
other variants - no use...
How can I do this?
Many thanks ahead for any help.
PLM
--
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Update sources for gdb without exiting
2004-06-17 6:43 Update sources for gdb without exiting L P
@ 2004-06-17 13:06 ` Daniel Jacobowitz
2004-06-17 13:33 ` How to trace without binary and with core file murugesan
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2004-06-17 13:06 UTC (permalink / raw)
To: L P; +Cc: gdb
On Thu, Jun 17, 2004 at 02:42:52PM +0800, L P wrote:
> Hello,
> I understand that this must be somewhere, I studied a lot of
> docs, internet, etc. but still can not achieve the result:
> I cross-develop and have the following in my .gdbinit:
>
> define o9
> set mpcbdm_adapter 2
> target mpcbdm 0
> add-symbol-file ./Debug/dtc
Try replacing add-symbol-file with just "file".
--
Daniel Jacobowitz
^ permalink raw reply [flat|nested] 3+ messages in thread
* How to trace without binary and with core file.
2004-06-17 13:06 ` Daniel Jacobowitz
@ 2004-06-17 13:33 ` murugesan
0 siblings, 0 replies; 3+ messages in thread
From: murugesan @ 2004-06-17 13:33 UTC (permalink / raw)
To: gdb
Hello all,
I have been given just the core file ( without the binary ). Is there a way
to backtrace the core file without the binary?
If so, how can I achieve that ?
Is that possible with gdb ?
If not, is there any other tool for debugging such files ?
Thanks in advance,
Murugesan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2004-06-17 13:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-17 6:43 Update sources for gdb without exiting L P
2004-06-17 13:06 ` Daniel Jacobowitz
2004-06-17 13:33 ` How to trace without binary and with core file murugesan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox