public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/28941] New: Say what 'that' is: You can't do that without a process to debug.:
@ 2022-03-03 17:49 dgilbert at redhat dot com
  0 siblings, 0 replies; only message in thread
From: dgilbert at redhat dot com @ 2022-03-03 17:49 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 28941
           Summary: Say what 'that' is: You can't do that without a
                    process to debug.:
           Product: gdb
           Version: 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: dgilbert at redhat dot com
  Target Milestone: ---

I'm using some python scripts that come with qemu and using them on a core and
I get a:
Python Exception <class 'gdb.error'> You can't do that without a process to
debug.: 
Error occurred in Python: You can't do that without a process to debug.

'do that' is incredibly frustrating, gdb should state what 'that' is; I think
in most cases that might be as simple as giving noprocess() a char *reason and
passing it __func__ perhaps?

I guess the python glue could also do with saying what it was doing when it
failed.

(add meatloaf references about not saying what 'that' is as required).

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-03-03 17:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-03 17:49 [Bug gdb/28941] New: Say what 'that' is: You can't do that without a process to debug.: dgilbert at redhat dot com

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).