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 c++/21873] New: GDB Crashes when ^C pressed while debugging ARM-Cortex M4F


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

            Bug ID: 21873
           Summary: GDB Crashes when ^C pressed while debugging ARM-Cortex
                    M4F
           Product: gdb
           Version: 7.4
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: c++
          Assignee: unassigned at sourceware dot org
          Reporter: ihkose at gmail dot com
  Target Milestone: ---

Created attachment 10297
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10297&action=edit
Core file that has crash info

I am debugging my firmware on MAX32630FTHR target using openocd server. While
running the firmware, i hit the Ctrl+C keystore to be stop the firmware and
enable command line in TUI mode. It crashes suddenly after the key pressing. I
am running it on Ubuntu 16.04.

The target links are here.
https://www.maximintegrated.com/en/products/digital/microcontrollers/MAX32630FTHR.html
https://developer.mbed.org/platforms/MAX32630FTHR/


My gdbinit content are here.

define connect
        set trace-commands on
        set remotetimeout 1000000000
        set logging on
        target remote localhost:3333
end

define reset
        monitor reset halt
        c
end

define settings
        # set unlimited string size while print
        set print elements 0
end

define program
        monitor reset halt
        load build/output.elf
        monitor reset halt
end

define run_openocd
        target remote | openocd scripts/jtag/max3263x_hdk.cfg -c "gdb_port
pipe; log_output ./openocd.log"
end

connect
settings
program
c

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