public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug breakpoints/9834] GDB choosing wrong process when multiple processes have same name.
       [not found] <bug-9834-4717@http.sourceware.org/bugzilla/>
@ 2015-05-17 17:44 ` netjoker45 at gmail dot com
  2015-05-18  2:14 ` vapier at gentoo dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: netjoker45 at gmail dot com @ 2015-05-17 17:44 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=9834

Mediot Listo <netjoker45 at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |netjoker45 at gmail dot com

--- Comment #1 from Mediot Listo <netjoker45 at gmail dot com> ---
Created attachment 8320
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8320&action=edit
Sourceware Bugzilla

[http://www.ya.ru translations]

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug breakpoints/9834] GDB choosing wrong process when multiple processes have same name.
       [not found] <bug-9834-4717@http.sourceware.org/bugzilla/>
  2015-05-17 17:44 ` [Bug breakpoints/9834] GDB choosing wrong process when multiple processes have same name netjoker45 at gmail dot com
@ 2015-05-18  2:14 ` vapier at gentoo dot org
  2024-01-07 12:12 ` ssbssa at sourceware dot org
  2024-01-10 18:33 ` tromey at sourceware dot org
  3 siblings, 0 replies; 4+ messages in thread
From: vapier at gentoo dot org @ 2015-05-18  2:14 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=9834

Mike Frysinger <vapier at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vapier at gentoo dot org
   Attachment #8320|0                           |1
        is obsolete|                            |

-- 
You are receiving this mail because:
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug breakpoints/9834] GDB choosing wrong process when multiple processes have same name.
       [not found] <bug-9834-4717@http.sourceware.org/bugzilla/>
  2015-05-17 17:44 ` [Bug breakpoints/9834] GDB choosing wrong process when multiple processes have same name netjoker45 at gmail dot com
  2015-05-18  2:14 ` vapier at gentoo dot org
@ 2024-01-07 12:12 ` ssbssa at sourceware dot org
  2024-01-10 18:33 ` tromey at sourceware dot org
  3 siblings, 0 replies; 4+ messages in thread
From: ssbssa at sourceware dot org @ 2024-01-07 12:12 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=9834

Hannes Domani <ssbssa at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ssbssa at sourceware dot org

--- Comment #3 from Hannes Domani <ssbssa at sourceware dot org> ---
(In reply to Jeff Bradley from comment #0)
> 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.

gdb uses the supplied PID directly in the call to DebugActiveProcess, not
the process name, so that can't be true.
And I've never seen that gdb attached to a wrong process.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug breakpoints/9834] GDB choosing wrong process when multiple processes have same name.
       [not found] <bug-9834-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2024-01-07 12:12 ` ssbssa at sourceware dot org
@ 2024-01-10 18:33 ` tromey at sourceware dot org
  3 siblings, 0 replies; 4+ messages in thread
From: tromey at sourceware dot org @ 2024-01-10 18:33 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=9834

Tom Tromey <tromey at sourceware dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |OBSOLETE
                 CC|                            |tromey at sourceware dot org
             Status|UNCONFIRMED                 |RESOLVED

--- Comment #4 from Tom Tromey <tromey at sourceware dot org> ---
I think for very old bug reports like this, without a solid
reproducer, we can normally just close them.

In this case, Windows attach is reasonably well-tested nowadays;
e.g. AdaCore tests it daily.  So whatever this was, it is probably
fixed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-01-10 18:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-9834-4717@http.sourceware.org/bugzilla/>
2015-05-17 17:44 ` [Bug breakpoints/9834] GDB choosing wrong process when multiple processes have same name netjoker45 at gmail dot com
2015-05-18  2:14 ` vapier at gentoo dot org
2024-01-07 12:12 ` ssbssa at sourceware dot org
2024-01-10 18:33 ` tromey at sourceware dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).