This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
remote/1532: 'target remote xxx' can cause segmentation fault in arm-elf-gdb
- From: nm127 at hszk dot bme dot hu
- To: gdb-gnats at sources dot redhat dot com
- Date: 22 Jan 2004 16:12:03 -0000
- Subject: remote/1532: 'target remote xxx' can cause segmentation fault in arm-elf-gdb
- Reply-to: nm127 at hszk dot bme dot hu
>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: