This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

remote/1416: "target async" has suffered bitrot


>Number:         1416
>Category:       remote
>Synopsis:       "target async" has suffered bitrot
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 10 01:48:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     ac131313@redhat.com
>Release:        2003-10-09
>Organization:
>Environment:

>Description:
"target async" has suffered bitrot.  Kei Sakamoto writes:

Refering async target in remote.c, I'm implementing the asyncronized version
of m32r new remote target. But I noticed the async target didn't work correctly.



> cat hello.c

main()
{
  printf("hello, world\n");
}

> gcc -g hello.c
> ~/gdb-20031001/build/gdb/gdbserver/gdbserver localhost:2345 a.out

Process a.out created; pid = 8522

> From another terminal:


> ~/gdb-20031001/build/gdb/gdb a.out

GNU gdb 20031001
Copyright 2003 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library
"/lib/libthread_db.so.1".

(gdb) target async localhost:2345
Remote debugging using localhost:2345
0x40001e10 in ?? ()
(gdb) break main
Breakpoint 1 at 0x8048358: file hello.c, line 4.
(gdb) c
Continuing.
The program is running.  Exit anyway? (y or n) n
Not confirmed.
(gdb)


Is the async target under development? If so, is there any other remote
target I can refer as a example of asynchronized remote targets?
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]