This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/23039] 'info program' always cause GDB aborts at early start


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

--- Comment #4 from weimin.pan at oracle dot com ---
I still can reproduce the crash with a gdb that is not the latest version 
on git repository:

% ~/binutils-gdb/gdb/gdb a.out
GNU gdb (GDB) 8.2.50.20181008-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
...
Reading symbols from a.out...
(gdb) b *0
Breakpoint 1 at 0x0
(gdb) r
Starting program: a.out 

[19]+  Stopped                 ~/binutils-gdb/gdb/gdb a.out
% fg
~/binutils-gdb/gdb/gdb a.out
Warning:
Cannot insert breakpoint 1.
Cannot access memory at address 0x0

(gdb) i program
Segmentation fault
%

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]