This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/16031] New: RFC: gdb: skip unnecessary check
- From: "toralf.foerster at gmx dot de" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Wed, 09 Oct 2013 18:25:57 +0000
- Subject: [Bug gdb/16031] New: RFC: gdb: skip unnecessary check
- Auto-submitted: auto-generated
https://sourceware.org/bugzilla/show_bug.cgi?id=16031
Bug ID: 16031
Summary: RFC: gdb: skip unnecessary check
Product: gdb
Version: 7.5
Status: NEW
Severity: enhancement
Priority: P2
Component: gdb
Assignee: unassigned at sourceware dot org
Reporter: toralf.foerster at gmx dot de
GDB tried to attach to the process and failed. It then tried to treat the
identifier as a program in the current working directory. Arguably, it should
skip that latter check if the former found a valid process but still failed to
attach.
$ sudo gdb /home/tfoerste/devel/linux/linux 15576 -n -batch -ex bt
warning: process 15576 is already traced by process 971
ptrace: Operation not permitted.
/home/tfoerste/15576: No such file or directory.
No stack.
details: https://forums.gentoo.org/viewtopic-t-972012-highlight-.html
--
You are receiving this mail because:
You are on the CC list for the bug.