public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* Problem with load
@ 2003-08-26 13:15 Hylla, Kai
  2003-08-26 15:40 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: Hylla, Kai @ 2003-08-26 13:15 UTC (permalink / raw)
  To: insight

Hi!

I'va problems using the gdb load instruction. The command is executed.
But the the file is no written correctly into the RAM. Some addresses
are not written. The still contain prior to the load command. This
behavior is address indepentend. If I move the progamm into anonther
location the problem still exist.

I tested some things and I discovert that the set instruction is not
executed if the data type is char or short. In my opinion this my cause
the load problem. But I'm not sure about this.
If the CPU executes byte or short writes to the memory it works. So in
IMHO it can't be a hardwareproblem.

I think that the problem is caused due to a configuration error. I tried
several settings but it doesn't help.

With settings I can use to modify gdbs set related behaviour?

Thanks and regards,
Kai

---
K. Hylla
Abt. NJT T3

ATLAS Elektronik GmbH
A BAE Systems Company
Sebaldsbruecker Heerstr. 235
D-28305 Bremen

Tel.: +49 421 457-3231
Fax : +49 421 457-1702 

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

* Re: Problem with load
  2003-08-26 13:15 Problem with load Hylla, Kai
@ 2003-08-26 15:40 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-08-26 15:40 UTC (permalink / raw)
  To: Hylla, Kai; +Cc: insight

On Tue, 2003-08-26 at 06:15, Hylla, Kai wrote:

> I think that the problem is caused due to a configuration error. I tried
> several settings but it doesn't help.

Configuration error of what? Hardware? Gdb? You haven't even mentioned
what hardware you're trying to run on.

My suggestion: Try running this on vanilla gdb (run "*-*-gdb -nw"). If
it still does the same thing, send a note to the gdb mailing list, since
Insight is nothing more than a UI for gdb. Make certain that you include
a gdb session demonstrating the problem. ("A picture is worth a thousand
words.")

If it works in gdb and not in insight, get back to the list with more
information. (Host, target, debug protocol, transport layer, etc)

Keith


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

end of thread, other threads:[~2003-08-26 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-26 13:15 Problem with load Hylla, Kai
2003-08-26 15:40 ` Keith Seitz

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).