* Re: Unable to step through ARM code using insgiht-5.0
@ 2001-04-19 2:57 Ahmed A. Agbabiaka
2001-04-19 5:53 ` capture gdb output Michael S. Miles
2001-04-19 8:32 ` Unable to step through ARM code using insgiht-5.0 Keith Seitz
0 siblings, 2 replies; 9+ 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] 9+ messages in thread
* capture gdb output
2001-04-19 2:57 Unable to step through ARM code using insgiht-5.0 Ahmed A. Agbabiaka
@ 2001-04-19 5:53 ` Michael S. Miles
2001-04-19 13:44 ` Michael Meissner
2001-04-19 8:32 ` Unable to step through ARM code using insgiht-5.0 Keith Seitz
1 sibling, 1 reply; 9+ messages in thread
From: Michael S. Miles @ 2001-04-19 5:53 UTC (permalink / raw)
To: GDB Mailing List
I need to be able to capture all the output from my gdb session into some
type of log file. It seems like this is a feature that would definitely
exist, but I have been searching the sources and documentation for any
mention of this capability with no luck.
Does anyone know if gdb has this functionality and if so, how to use it?
If it helps, I am using the 03/20/01 snapshot of GDB on a Linux-i386 system.
I am also using it as a remote Linux kernel debugger although I don't
believe that is relevant.
many thanks,
Michael Miles
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to step through ARM code using insgiht-5.0
2001-04-19 2:57 Unable to step through ARM code using insgiht-5.0 Ahmed A. Agbabiaka
2001-04-19 5:53 ` capture gdb output Michael S. Miles
@ 2001-04-19 8:32 ` Keith Seitz
1 sibling, 0 replies; 9+ messages in thread
From: Keith Seitz @ 2001-04-19 8:32 UTC (permalink / raw)
To: Ahmed A. Agbabiaka; +Cc: GDB Mailing List
On Thu, 19 Apr 2001, Ahmed A. Agbabiaka wrote:
> 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.
FWIW, I've never had luck using gdb on Win95. However (the light at
the end of the tunnel), I've also had NO problems using (and building,
actually) on Win98, WinNT, or Win2000.
Keith
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: capture gdb output
2001-04-19 5:53 ` capture gdb output Michael S. Miles
@ 2001-04-19 13:44 ` Michael Meissner
0 siblings, 0 replies; 9+ messages in thread
From: Michael Meissner @ 2001-04-19 13:44 UTC (permalink / raw)
To: Michael S. Miles; +Cc: GDB Mailing List
On Thu, Apr 19, 2001 at 08:54:04AM -0400, Michael S. Miles wrote:
> I need to be able to capture all the output from my gdb session into some
> type of log file. It seems like this is a feature that would definitely
> exist, but I have been searching the sources and documentation for any
> mention of this capability with no luck.
>
> Does anyone know if gdb has this functionality and if so, how to use it?
>
> If it helps, I am using the 03/20/01 snapshot of GDB on a Linux-i386 system.
> I am also using it as a remote Linux kernel debugger although I don't
> believe that is relevant.
Besides using tee, you could run gdb within an emacs shell session (or use
emacs' gdb mode) and copy the buffer to a file, or use the 'script' command
that many Unixen provide (output is in the 'typescript' file). On older
systems, xterm might have a logging option (which was disabled due to security
concerns).
--
Michael Meissner, Red Hat, Inc. (GCC group)
PMB 198, 174 Littleton Road #3, Westford, Massachusetts 01886, USA
Work: meissner@redhat.com phone: +1 978-486-9304
Non-work: meissner@spectacle-pond.org fax: +1 978-692-4482
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to step through ARM code using insgiht-5.0
2001-02-15 13:01 ` Fernando Nasser
@ 2001-02-15 14:07 ` Grant Edwards
0 siblings, 0 replies; 9+ messages in thread
From: Grant Edwards @ 2001-02-15 14:07 UTC (permalink / raw)
To: Fernando Nasser
Cc: Keith Seitz, Ahmed A. Agbabiaka, GDB Mailing List, insight
On Thu, Feb 15, 2001 at 04:01:14PM -0500, Fernando Nasser wrote:
> With the current versions of Cygwin it should work fine.
>
>
> But if you are using a b.20 or some other old version of Cygwin
> you may encounter problems with serial lines. It gets worse
> the higher the speed you use. In this case, just grab the
> latest Cygwin and everything will be fine.
Or switch to Linux, and everything will be even finer. ;)
--
Grant Edwards
grante@visi.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to step through ARM code using insgiht-5.0
2001-02-15 11:34 ` Keith Seitz
2001-02-15 13:01 ` Fernando Nasser
@ 2001-02-15 13:26 ` Grant Edwards
1 sibling, 0 replies; 9+ messages in thread
From: Grant Edwards @ 2001-02-15 13:26 UTC (permalink / raw)
To: Keith Seitz; +Cc: Ahmed A. Agbabiaka, GDB Mailing List, insight
On Thu, Feb 15, 2001 at 11:30:10AM -0800, Keith Seitz wrote:
> [insight-related]
> > (Note: The "Continue to here" command" ignores ALL break points).
>
> As discussed in the online help (select "Help->Help Topics..",
> then Source Window and Source Window Pop-up Menus), this is the
> intended behavior.
>
> I'll leave to others more familiar with ARM support in gdb to
> address your other concerns. I will add, though, that I have
> never had any luck using ARM's rdi implementation (which they
> gave to gdb, no longer maintain, and are no longer interested
> in seeing kept up to date) at anything but 9600 baud.
I use RDI at 19200 (EmbeddedICE) and 38400 (Jeeni) with no
problems under Linux. The serial/parallel combination also
works well under Linux, though Ethernet (Jeeni) is really the
way to go.
> What host/target are you using? I assume it's probably
> windows-hosted using rdi?
I've heard that serial RDI support under Widows/Cygwin has been
flakey in the past (and not worked at all under some versions
of Cygwin).
--
Grant Edwards
grante@visi.com
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Unable to step through ARM code using insgiht-5.0
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
1 sibling, 1 reply; 9+ messages in thread
From: Fernando Nasser @ 2001-02-15 13:01 UTC (permalink / raw)
To: Keith Seitz; +Cc: Ahmed A. Agbabiaka, GDB Mailing List, insight
Keith Seitz wrote:
>
> I'll leave to others more familiar with ARM support in gdb to address
> your other concerns. I will add, though, that I have never had any luck
> using ARM's rdi implementation (which they gave to gdb, no longer
> maintain, and are no longer interested in seeing kept up to date) at
> anything but 9600 baud.
>
Yes, it works at 115200. I have done it and other have as well.
The ARM AEB board (the $150 board they used to sell) has a bug in it and it would not follow the protocol so switching to a higher speed fails (thus it only works at 9600).
We tried to ask ARM about this and the answer was that we should buy the new $250 development board.
> What host/target are you using? I assume it's probably windows-hosted
> using rdi?
>
With the current versions of Cygwin it should work fine.
But if you are using a b.20 or some other old version of Cygwin you may encounter problems with serial lines. It gets worse the higher the speed you use.
In this case, just grab the latest Cygwin and everything will be fine.
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9
^ permalink raw reply [flat|nested] 9+ 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
2001-02-15 13:01 ` Fernando Nasser
2001-02-15 13:26 ` Grant Edwards
0 siblings, 2 replies; 9+ messages in thread
From: Keith Seitz @ 2001-02-15 11:34 UTC (permalink / raw)
To: Ahmed A. Agbabiaka; +Cc: GDB Mailing List, insight
On Thu, 15 Feb 2001, Ahmed A. Agbabiaka wrote:
[insight-related]
> (Note: The "Continue to here" command" ignores ALL break points).
As discussed in the online help (select "Help->Help Topics..", then
Source Window and Source Window Pop-up Menus), this is the intended
behavior.
I'll leave to others more familiar with ARM support in gdb to address
your other concerns. I will add, though, that I have never had any luck
using ARM's rdi implementation (which they gave to gdb, no longer
maintain, and are no longer interested in seeing kept up to date) at
anything but 9600 baud.
What host/target are you using? I assume it's probably windows-hosted
using rdi?
Keith
^ permalink raw reply [flat|nested] 9+ 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; 9+ 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] 9+ messages in thread
end of thread, other threads:[~2001-04-19 13:44 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-19 2:57 Unable to step through ARM code using insgiht-5.0 Ahmed A. Agbabiaka
2001-04-19 5:53 ` capture gdb output Michael S. Miles
2001-04-19 13:44 ` Michael Meissner
2001-04-19 8:32 ` Unable to step through ARM code using insgiht-5.0 Keith Seitz
-- strict thread matches above, loose matches on Subject: below --
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox