Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Problem on gdb (insight) under cgywin!
@ 2001-04-17 19:15 Cliff Tsai
  2001-04-18  7:07 ` Paul Breed
  0 siblings, 1 reply; 2+ messages in thread
From: Cliff Tsai @ 2001-04-17 19:15 UTC (permalink / raw)
  To: gdb

Hi:
    I've build insight under cygwin for my m68k target.
    I have some problems.

    1.First I execute m68k-coff-gdb.
       and open a m68k-coff image, but a error occur
        => Error loading "...../test.coff"
            bad offset (0x12264) in compilation unit header(offset 0x0+6)
        The test.coff is workable when running in target.
        So I have no idea about why GDB don't accept the coff image?

   2.Using File->target setting,I set target using Remote/serial,57600,com2.
      and Run->connect to target.
      After a long time,there is a message->"connected successfully".
      But When I ececute a "console_output" command at the target,
      sending a string like "Hello,Insight" to insight.
      I think I should see this string at the console window?
      But nothing there.Do I make any mistake?

   3.I try another method.
      I open insight and use console window to connect to target.
      (gdb)target remote com2
      After long time,the message appear."Ignoring packet error....continue"
      Why?

   4.Because I only see baud setting and com port selection in insight.
      But I set following configuration in target's uart:
      =>baudrate 57600,8-bits data,1 stop-bit,no parity.
      How do I make sure  inshgt on the host can recognize this
configuration at the target?

   5.I've see a message at the ecos-discuss mailing list about ignoring
packet error
      The author said he wired up the connector at the PC end to connect
RTS&CTS,DSR&DTR,
      and permanently enable DCD.Then it works fine?
      What did he mean? Do I need a special serial line?Or I can use common
serial line that buy from store.

Thank very much!
B.R.



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

* Re: Problem on gdb (insight) under cgywin!
  2001-04-17 19:15 Problem on gdb (insight) under cgywin! Cliff Tsai
@ 2001-04-18  7:07 ` Paul Breed
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Breed @ 2001-04-18  7:07 UTC (permalink / raw)
  To: gdb

Obvious question:
To use GDB this way you must be running the GDB stub on your target
board. Are you running the stub?

What are you running on the 68K target?

Also if this is an embedded target then are you sure that the 
console_output is being piped through the GDB stub?

At 10:13 AM 4/18/01 +0800, you wrote:
>Hi:
>     I've build insight under cygwin for my m68k target.
>     I have some problems.
>
>     1.First I execute m68k-coff-gdb.
>        and open a m68k-coff image, but a error occur
>         => Error loading "...../test.coff"
>             bad offset (0x12264) in compilation unit header(offset 0x0+6)
>         The test.coff is workable when running in target.
>         So I have no idea about why GDB don't accept the coff image?
>
>    2.Using File->target setting,I set target using Remote/serial,57600,com2.
>       and Run->connect to target.
>       After a long time,there is a message->"connected successfully".
>       But When I ececute a "console_output" command at the target,
>       sending a string like "Hello,Insight" to insight.
>       I think I should see this string at the console window?
>       But nothing there.Do I make any mistake?
>
>    3.I try another method.
>       I open insight and use console window to connect to target.
>       (gdb)target remote com2
>       After long time,the message appear."Ignoring packet error....continue"
>       Why?
>
>    4.Because I only see baud setting and com port selection in insight.
>       But I set following configuration in target's uart:
>       =>baudrate 57600,8-bits data,1 stop-bit,no parity.
>       How do I make sure  inshgt on the host can recognize this
>configuration at the target?
>
>    5.I've see a message at the ecos-discuss mailing list about ignoring
>packet error
>       The author said he wired up the connector at the PC end to connect
>RTS&CTS,DSR&DTR,
>       and permanently enable DCD.Then it works fine?
>       What did he mean? Do I need a special serial line?Or I can use common
>serial line that buy from store.
>
>Thank very much!
>B.R.
>


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

end of thread, other threads:[~2001-04-18  7:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-04-17 19:15 Problem on gdb (insight) under cgywin! Cliff Tsai
2001-04-18  7:07 ` Paul Breed

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox