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/21819] New: Ctrl+C leads to "terminate called after throwing an instance of 'gdb_exception_RETURN_MASK_QUIT'"


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

            Bug ID: 21819
           Summary: Ctrl+C leads to "terminate called after throwing an
                    instance of 'gdb_exception_RETURN_MASK_QUIT'"
           Product: gdb
           Version: 8.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: b7.10110111 at gmail dot com
  Target Milestone: ---

Created attachment 10282
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10282&action=edit
Backtrace

Tested on remote Raspbian system with gdb-8.0 compiled from source and local
x86 system with gdb 8.0.50.20170709-git compiled with "--host=i686-pc-linux-gnu
--target=arm-unknown-linux-gnueabihf".

To reproduce:

* On remote machine:
gdbserver :1337 gdbserver

* On local machine: run the following command and press Ctrl+C when it's
reading symbols:
arm-unknown-linux-gnueabihf-gdb -q -ex 'target remote rpi:1337'

I get the following output:

Remote debugging using rpi:1337
Reading /home/pi/opt/gdb-8.0/bin/gdbserver from remote target...
warning: File transfers from remote targets can be slow. Use "set sysroot" to
access files locally instead.
Reading /home/pi/opt/gdb-8.0/bin/gdbserver from remote target...
Reading symbols from target:/home/pi/opt/gdb-8.0/bin/gdbserver...^Cterminate
called after throwing an instance of 'gdb_exception_RETURN_MASK_QUIT'
Aborted (core dumped)

Attaching backtrace from the core file generated.

-- 
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]