public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jesper Skov <jskov@redhat.com>
To: "Natarajan, Mekala (CTS)" <NMekala@CHN.CTS-CORP.COM>
Cc: "'Jonathan Larmour'" <jlarmour@cygnus.co.uk>,
	"'ecos-discuss@sourceware.cygnus.com'"
	<ecos-discuss@sourceware.cygnus.com>
Subject: Re: [ECOS] gdb/insight questions
Date: Wed, 06 Dec 2000 01:42:00 -0000	[thread overview]
Message-ID: <otitoxlwca.fsf@thinktwice.zoftcorp.dk> (raw)
In-Reply-To: <8F1D166D08ACD41196EE00B0D020944B0BB660@CTSINENTSXUB>

>>>>> "Natarajan," == Natarajan, Mekala (CTS) <NMekala@CHN.CTS-CORP.COM> writes:

Natarajan,> hi, i am using i386pc target. For me printf() is working
Natarajan,> fine and it is displaying output in GDB console..

Curiously, the behavior is different on different platforms/versions
of GDB.

jifl> Jesper then said "Problem is that GDB hides any output
jifl> that is not in O-packet format. HAL diag will normally
jifl> wrap ASCII output in O-packets, but raw serial output does
jifl> not (for obvious reasons)."

jifl> but isn't the problem above that printf() isn't working by
jifl> default? Or has Lewin changed the configuration from the
jifl> default to use haldiag, to serial drivers; or changed
jifl> haldiag to output packets that aren't O-packetized.

jifl> My point is that *by default* printf() should work and
jifl> display output on GDB.
 
Hm, you are right. Lewin, you can make sure by enabling remotedebug in
GDB - that will show you if the incoming data is in raw or O-packet
format.

I'm not sure why it shouldn't be in O-packet format, unless you are
writing to a raw device (fprintf? - do we actually have that?)

Jesper

  reply	other threads:[~2000-12-06  1:42 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Fred>
     [not found] ` <Fierling's>
     [not found]   ` <message>
     [not found]     ` <of>
     [not found]       ` <"Sat,>
     [not found]         ` <07>
     [not found]       ` <"Tue,>
     [not found]         ` <05>
     [not found]         ` <10>
     [not found]           ` <Jan>
     [not found]             ` <2001>
     [not found]       ` <"Fri,>
     [not found]         ` <17>
     [not found]       ` <Tue,>
     [not found]         ` <04>
     [not found]           ` <May>
     [not found]             ` <99>
     [not found]               ` <12:35:31>
     [not found]                 ` <PDT>
1999-05-04 13:51                   ` [ECOS] TCP/IP Stack for eCos Jay Lepreau
1999-05-04 17:06                     ` Fred Fierling
1999-05-04 17:43                       ` Brendan Simon
1999-05-05  5:15                       ` [ECOS] " Bart Veer
1999-05-05  1:54                     ` [ECOS] " Fernando D. Mato Mira
     [not found]       ` <"Wed,>
     [not found]         ` <5>
     [not found]           ` <Jul>
     [not found]             ` <2000>
     [not found]               ` <11:39:46>
     [not found]                 ` <+0200>
     [not found]                   ` <"Mon,>
     [not found]                     ` <09>
2000-07-05  2:40                   ` [ECOS] Connecting gdb to AEB Andreas.Karlsson
2000-07-05  2:53                     ` Jesper Skov
2000-07-05  3:12                       ` Robert Erskine
2000-10-05 12:33                   ` [ECOS] GDB Download on i386 target hangs Christian Plessl
2000-10-06  5:15                     ` Nick Garnett
2000-10-07  0:55                       ` Christian Plessl
2000-10-09  6:40                         ` Nick Garnett
2000-10-09 12:50                           ` Christian Plessl
2000-10-10  2:46                             ` Nick Garnett
2000-10-10  3:49                             ` Jesper Skov
     [not found]                             ` <5.0.0.25.0.20001010121538.009f5e30@imap.ee.ethz.ch>
     [not found]                               ` <wwg8zrwkiht.fsf@balti.cygnus>
2000-10-10  7:28                                 ` Christian Plessl
2000-10-10  7:58                                   ` Nick Garnett
2000-10-11  7:11                                     ` Christian Plessl
2000-10-11  7:20                                       ` Nick Garnett
2000-10-12  0:45                                         ` Jesper Skov
     [not found]               ` <11:11:19>
     [not found]                 ` <+0100>
     [not found]                   ` <Jesper>
2000-11-17  2:11                   ` [ECOS] forwarded message from Peter Graf Jesper Skov
2000-11-19 23:43                     ` Jesper Skov
2000-11-20  5:36                       ` [ECOS] Hitachi SH7709A problems Peter Graf
2000-11-20  6:58                         ` Jesper Skov
2000-11-20  7:20                           ` Peter Graf
2001-01-03  2:48                             ` Jesper Skov
2001-01-12  3:45                               ` Peter Graf
     [not found]               ` <20:29:19>
     [not found]                 ` <+0900>
2000-11-20  3:28                   ` [ECOS] Help me !!, Hello world on out target °íÀç¿ë
2000-11-20  3:43                     ` Jesper Skov
2000-11-20  5:54                       ` Lewin A.R.W. Edwards
2000-11-20  6:43                         ` Jesper Skov
2000-11-21 22:00                           ` Jonathan Larmour
     [not found]               ` <09:24:40>
     [not found]                 ` <-0500>
2000-12-05  6:26                   ` [ECOS] gdb/insight questions Lewin A.R.W. Edwards
2000-12-05  7:22                     ` Jesper Skov
2000-12-05  7:32                       ` Lewin A.R.W. Edwards
2000-12-05 20:15                     ` Jonathan Larmour
2000-12-06  4:13                       ` Lewin A.R.W. Edwards
2000-12-05 22:43                   ` Natarajan, Mekala (CTS)
2000-12-06  1:42                     ` Jesper Skov [this message]
2000-12-06  4:47                       ` Lewin A.R.W. Edwards
2001-01-10 16:42 [ECOS] Really dumb newbie question Tim Noell
2001-01-10 17:48 ` Lewin A.R.W. Edwards
2001-01-10 23:58   ` Jesper Skov
2001-01-11  6:05     ` Lewin A.R.W. Edwards
2001-01-11  7:26       ` Gary Thomas
2001-01-11  7:41         ` Grant Edwards
2001-01-11  7:51           ` Julian Smart
2001-01-11  8:01             ` Grant Edwards
2001-01-11  7:56           ` Gary Thomas
2001-01-11  8:36         ` Sergei Organov
     [not found] <Natarajan,>
     [not found] <Christian>
     [not found] <Lewin>
     [not found] ` <A.R.W.>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=otitoxlwca.fsf@thinktwice.zoftcorp.dk \
    --to=jskov@redhat.com \
    --cc=NMekala@CHN.CTS-CORP.COM \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=jlarmour@cygnus.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).