public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Re: Unable to step through ARM code using insgiht-5.0
@ 2001-02-02  8:38 Ahmed Agbabiaka
  2001-02-02  9:07 ` Fernando Nasser
  0 siblings, 1 reply; 12+ messages in thread
From: Ahmed Agbabiaka @ 2001-02-02  8:38 UTC (permalink / raw)
  To: GDB Mailing List

Hello,

I have a favour to ask...
If there is anyone out-there who has a working version of gcc and insight-5.0
for the ARM target (see my previous mail for specifics) could you possibly build
the code below and send me a copy of the executable debug file so I can test my
set-up.

void main(void)
{
	return (0);
}

Many thanks,
Ahmed A. Agbabiaka.

-----------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual to whom it is addressed.
Any views or opinions presented are solely those of the author
and do not necessarily represent those of Thyron Limited.
If you are not the intended recipient then please be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing or copying of this email 
is strictly prohibited.
If you have received this email in error, please notify the 
Thyron IT Administrator on +44 (0)1923 236 050 or 
send an email to mail-admin@thyron.com.
Thank You

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Unable to step through ARM code using insgiht-5.0
@ 2001-04-19  2:57 Ahmed A. Agbabiaka
  2001-04-19  8:32 ` Keith Seitz
  0 siblings, 1 reply; 12+ messages in thread
From: Ahmed A. Agbabiaka @ 2001-04-19  2:57 UTC (permalink / raw)
  To: GDB Mailing List

Hello,

Thank you all, for your suggestions regarding my GDB problem. I now have a
working version of GDB, "insight+dejagnu-20010205", which I have been using for
over one month now. However, I still have a few more queries:

My build of the snapshot (even though built using cygwin-1.1.18-2, on a WIN 95
platform) only works on Window NT. Attempts to use it on any WIN 95 machines
have failed miserably:
	- Downloading seems to hang half-way
	- When a download is successful, "step"ing crashes the debugger.

Are there any reasons why GDB should not work on a WIN 95 platform? Is this a
known problem, or just a one-off? I am yet to try it on a WIN 98 platform to see
if the same problems occur.

Thanks once again,
Ahmed

-----------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual to whom it is addressed.
Any views or opinions presented are solely those of the author
and do not necessarily represent those of Thyron Limited.
If you are not the intended recipient then please be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing or copying of this email 
is strictly prohibited.
If you have received this email in error, please notify the 
Thyron IT Administrator on +44 (0)1923 236 050 or 
send an email to mail-admin@thyron.com.
Thank You

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Unable to step through ARM code using insgiht-5.0
@ 2001-02-15  9:57 Ahmed A. Agbabiaka
  2001-02-15 11:34 ` Keith Seitz
  0 siblings, 1 reply; 12+ messages in thread
From: Ahmed A. Agbabiaka @ 2001-02-15  9:57 UTC (permalink / raw)
  To: GDB Mailing List

Hello,

After my last correspondence, I obtained and built a GDB snapshot
(insight+dejagnu-20010205) for my ARM target - arm-riscix-coff. Although this
version gets me further than V5.0 ever did, I still have a few concerns...

Whenever I attempt to "step" through my code, DGB seems to hang. The only way
for me to run through my code is to use the "Continue to here" command that is
only selectable from a pop-up dialog whenever I "right-click", in the source
window,  on the line I would have had a break point on (Note: The "Continue to
here" command" ignores ALL break points).

GDB only seems to work (as described above) on my build machine. Copying the
installed GBD binaries onto other machines, GDB seems to be even more
unreliable. On some of my other machines I can connect at my desired baud rate
but when I attempt do download my application, GDB hangs. On a particular
machine I can only download at up to 19200. Any baud rate above that and...
...GDB hangs again.

Question, am I missing a very crucial step?

Any information to help me resolve these problems would be most appreciated.

Thanks,
Ahmed A. Agbabiaka


-----------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual to whom it is addressed.
Any views or opinions presented are solely those of the author
and do not necessarily represent those of Thyron Limited.
If you are not the intended recipient then please be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing or copying of this email 
is strictly prohibited.
If you have received this email in error, please notify the 
Thyron IT Administrator on +44 (0)1923 236 050 or 
send an email to mail-admin@thyron.com.
Thank You

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Unable to step through ARM code using insgiht-5.0
@ 2001-02-02  7:07 Ahmed Agbabiaka
  0 siblings, 0 replies; 12+ messages in thread
From: Ahmed Agbabiaka @ 2001-02-02  7:07 UTC (permalink / raw)
  To: gdb

Hello,

I have successfully built insight-5.0 for an ARM target (arm-riscix-coff). My
ARM development board is running version 1.04 of the Angel debugger. Using my
version of insight-5.0, I can successfully connect to my ARM target (ARM
Angel/Serial), load an application (built using gcc for the same target), view
memory locations and registers as well as set my desired break point(s) within
the code.  However, when I attempt to debug the loaded application, insight-5.0
seems to hang. Single stepping the code (although not causing insight-5.0 to
hang) does not seem to have any effect on the loaded application as the program
counter remains unchanged.

Below is my configuration:

Host: Windows NT (i686-pc-cygwin)

GNU tools
	binutils-2.9.1
	gcc-2.95.2
	newlib-1.8.2

I have looked at the communication between the host and the target and there
seems to be some hand shaking going on when the "Step" and "Next" commands are
sent to the target.

I also have an ARM Remote debugger (part of ARM SDT 2.11a) which works fine when
used to build and load the same application that fails with insight-5.0.

I have been through the mailing list to see if there are others who have
experienced similar problems. The closest was msg00157 from Jens-Christian on
Wed, 15 Nov 2000 (Debugging with ANGEL). However, it appears he got a bit
further than I am currently getting and as expected, the fix by Fernando Nasser
did not work for me.

Any suggestions on how to resolve this problem will be most appreciated.

Thank you
Ahmed A. Agbabiaka



-----------------------------------------------------------------
This email is confidential and intended solely for the use of the
individual to whom it is addressed.
Any views or opinions presented are solely those of the author
and do not necessarily represent those of Thyron Limited.
If you are not the intended recipient then please be advised
that you have received this email in error and that any use,
dissemination, forwarding, printing or copying of this email 
is strictly prohibited.
If you have received this email in error, please notify the 
Thyron IT Administrator on +44 (0)1923 236 050 or 
send an email to mail-admin@thyron.com.
Thank You

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

end of thread, other threads:[~2001-04-19  8:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-02  8:38 Unable to step through ARM code using insgiht-5.0 Ahmed Agbabiaka
2001-02-02  9:07 ` Fernando Nasser
2001-02-02  9:35   ` John Hughes
2001-02-02  9:48     ` Fernando Nasser
  -- strict thread matches above, loose matches on Subject: below --
2001-04-19  2:57 Ahmed A. Agbabiaka
2001-04-19  8:32 ` Keith Seitz
2001-02-15  9:57 Ahmed A. Agbabiaka
2001-02-15 11:34 ` Keith Seitz
2001-02-15 13:01   ` Fernando Nasser
2001-02-15 14:07     ` Grant Edwards
2001-02-15 13:26   ` Grant Edwards
2001-02-02  7:07 Ahmed Agbabiaka

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