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/1532: 'target remote xxx' can cause segmentation fault in arm-elf-gdb


>Number:         1532
>Category:       remote
>Synopsis:       'target remote xxx' can cause segmentation fault in arm-elf-gdb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 22 16:18:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     nm127@hszk.bme.hu
>Release:        gdb-6.0
>Organization:
>Environment:
Debian Linux 3.0 (Woody)
Linux kernel 2.4.20
libc 2.2.5
>Description:
Tring to use a named pipe (fifo) as target remote gives some error. After this changing target to /dev/ttyS1 causes Segmentation fault
>How-To-Repeat:
$ mkfifo /home/nmarci/fifo
$ arm-elf-gdb
GNU gdb 6.0
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 "--host=i686-pc-linux-gnu --target=arm-elf".
(gdb) set remotebaud 57600
(gdb) target remote ~/fifo
~/fifo: No such file or directory.
(gdb) target remote /home/nmarci/fifo
/home/nmarci/fifo: Invalid argument.
(gdb) target remote /dev/ttyS1
Segmentation fault
>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]