public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* verification of remote program
@ 2003-04-24  8:55 Jan Hoogerbrugge
  2003-04-24 12:32 ` Daniel Jacobowitz
  0 siblings, 1 reply; 3+ messages in thread
From: Jan Hoogerbrugge @ 2003-04-24  8:55 UTC (permalink / raw)
  To: gdb

Several times I made the mistake to load a different program on the remote 
target than the program that I pass to gdb on the command line. This leads 
to wierd results. Is some sort of verification possible? For example, 
comparing text, data and bss sizes.

Jan





_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: verification of remote program
  2003-04-24  8:55 verification of remote program Jan Hoogerbrugge
@ 2003-04-24 12:32 ` Daniel Jacobowitz
  2003-04-24 20:31   ` Andrew Cagney
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel Jacobowitz @ 2003-04-24 12:32 UTC (permalink / raw)
  To: Jan Hoogerbrugge; +Cc: gdb

On Thu, Apr 24, 2003 at 10:55:37AM +0200, Jan Hoogerbrugge wrote:
> Several times I made the mistake to load a different program on the remote 
> target than the program that I pass to gdb on the command line. This leads 
> to wierd results. Is some sort of verification possible? For example, 
> comparing text, data and bss sizes.

I've been planning to implement something along these lines to verify
shared libraries; just haven't had time to do it.

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: verification of remote program
  2003-04-24 12:32 ` Daniel Jacobowitz
@ 2003-04-24 20:31   ` Andrew Cagney
  0 siblings, 0 replies; 3+ messages in thread
From: Andrew Cagney @ 2003-04-24 20:31 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: Jan Hoogerbrugge, gdb

> On Thu, Apr 24, 2003 at 10:55:37AM +0200, Jan Hoogerbrugge wrote:
> 
>> Several times I made the mistake to load a different program on the remote 
>> target than the program that I pass to gdb on the command line. This leads 
>> to wierd results. Is some sort of verification possible? For example, 
>> comparing text, data and bss sizes.
> 
> 
> I've been planning to implement something along these lines to verify
> shared libraries; just haven't had time to do it.

See:
	(gdb) compare-sections
the last time this came up, I think there was talk of implementing rsync 
across the remote protocol ....

Andrew


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-24 20:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-24  8:55 verification of remote program Jan Hoogerbrugge
2003-04-24 12:32 ` Daniel Jacobowitz
2003-04-24 20:31   ` Andrew Cagney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).