public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug corefiles/10832] gdb COREFILE should not require -c
       [not found] <bug-10832-4717@http.sourceware.org/bugzilla/>
@ 2022-06-07 18:11 ` bugmenot at mailinator dot com
  0 siblings, 0 replies; only message in thread
From: bugmenot at mailinator dot com @ 2022-06-07 18:11 UTC (permalink / raw)
  To: gdb-prs

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

John Doe <bugmenot at mailinator dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugmenot at mailinator dot com

--- Comment #1 from John Doe <bugmenot at mailinator dot com> ---
Rechecked - it either got worse over time or was partially patched by RedHat
before:

~~~
#> gdb core.12904
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
[New LWP 12904]
Core was generated by `cobcrun'.
Program terminated with signal 21, Stopped (tty input).
#0  0x00007fbc690827e0 in ?? ()
"/nfs/tmp/core.12904" is a core file.
Please specify an executable to debug.
(gdb) bt
#0  0x00007fbc690827e0 in ?? ()
#1  0x00007fbc690105e0 in ?? ()
#2  0x0000000000000000 in ?? ()
(gdb) q
~~~

--> loading works, it asks for an executable but that's possibly not even
necessary

~~~
#> gdb -c core.12904
GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-94.el7
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
[New LWP 12904]
Core was generated by `cobcrun'.
Program terminated with signal 21, Stopped (tty input).
#0  0x00007fbc690827e0 in ?? ()
(gdb) bt
#0  0x00007fbc690827e0 in ?? ()
#1  0x00007fbc690105e0 in ?? ()
#2  0x0000000000000000 in ?? ()
~~~

--> same result, just with less output

~~~
#> /opt/gdb/bin/gdb core.12904
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/nfs/tmp/core.12904": not in executable format: file format not recognized
~~~

--> feature to recognize the file as corefile seems lost?

~~~
#> /opt/gdb/bin/gdb -c core.12904
GNU gdb (GDB) 12.1
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word".
[New LWP 12904]
Core was generated by `cobcrun'.
Program terminated with signal SIGTTIN, Stopped (tty input).
#0  0x00007fbc690827e0 in ?? ()

(gdb) bt
#0  0x00007fbc690827e0 in ?? ()
#1  0x00007fbc690105e0 in ?? ()
#2  0x0000000000000000 in ?? ()
~~~

--> works as expected

-- 
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-06-07 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-10832-4717@http.sourceware.org/bugzilla/>
2022-06-07 18:11 ` [Bug corefiles/10832] gdb COREFILE should not require -c bugmenot at mailinator 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).