This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug breakpoints/9834] New: GDB choosing wrong process when multiple processes have same name.
- From: "jabradl1 at rockwellcollins dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 10 Feb 2009 20:46:51 -0000
- Subject: [Bug breakpoints/9834] New: GDB choosing wrong process when multiple processes have same name.
- Reply-to: sourceware-bugzilla at sourceware dot org
O/S: Windows XP Prof
IDE: GNAT Pro
file P:/dev/p3_ph3/cns/143-4177-A02.rel/exec_main/e_sys_main.exe
(gdb) catch exception
Catchpoint 1: all Ada exceptions
(gdb) attach 2440
[Switching to thread 2440.0x112c]
(gdb) break p_msn_status_page.2.ada:305
Breakpoint 2 at 0x4ba4a6: file p:\dev\p3_ph3\cns\143-4177-
a02.rel\page\p_msn_status_page.2.ada, line 305.
(gdb) cont
Warning:
Cannot insert breakpoint 1.
Error accessing memory address 0x1282ca3: Input/output error.
Upon further investigation we get this error while debugging any application
when there are multiple applications with the same process name running. If we
terminate the other processes with the same name the problem goes away. It
almost seems that the debugger is querying the O/S for the process name and
takes the first one that matches which may not necessarily be the one we are
debugging.
--
Summary: GDB choosing wrong process when multiple processes have
same name.
Product: gdb
Version: 6.6
Status: UNCONFIRMED
Severity: critical
Priority: P1
Component: breakpoints
AssignedTo: unassigned at sourceware dot org
ReportedBy: jabradl1 at rockwellcollins dot com
CC: gdb-prs at sourceware dot org,jabradl1 at
rockwellcollins dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9834
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.