cs01 / gdbgui

Browser-based frontend to gdb (gnu debugger). Add breakpoints, view the stack, visualize data structures, and more in C, C++, Go, Rust, and Fortran. Run gdbgui from the terminal and a new tab will open in your browser.
https://gdbgui.com
GNU General Public License v3.0
9.9k stars 499 forks source link

Feature request: show line endings as \n like gdb #327

Open flip111 opened 4 years ago

flip111 commented 4 years ago

Screenshot from 2020-05-03 23-19-52

Screenshot from 2020-05-03 23-18-33

Notice the difference between

gdbgui spawned subprocess with pid 28193 from command /usr/bin/gdb --interpreter=mi2.

gdb process 28193 is running for this tab

GNU gdb (Ubuntu 8.3-0ubuntu1) 8.3

Copyright (C) 2019 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-linux-gnu".

Type "show configuration" for configuration details.

For bug reporting instructions, please see:

<http://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".

set breakpoint pending on

core-file /home/philippe/traces/core-svn-all-fast-ex.25396

core-file /home/philippe/traces/core-svn-all-fast-ex.25396

warning: core file may not match specified executable file.

[New LWP 25396]

[Thread debugging using libthread_db enabled]

Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Core was generated by `svn2git/svn-all-fast-export --rules rules.txt --add-metadata-notes --stats --em'.

Program terminated with signal SIGABRT, Aborted.

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50

50  ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.

File not found: /build/glibc-t7JzpG/glibc-2.30/signal/../sysdeps/unix/sysv/linux/raise.c

bt

bt

#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50

#1  0x00007f5beacbf899 in __GI_abort () at abort.c:79

#2  0x00007f5beb11aa99 in QMessageLogger::fatal(char const*, ...) const () from /lib/x86_64-linux-gnu/libQt5Core.so.5

#3  0x000055c86f1ceabc in QIODevice_write (baton=0x55c86f530180, data=0x7f5be727d028 "msgid \\"\\"\
msgstr \\"\\"\
\\"Project-Id-Version: sk\\\
\\"\
\\"Report-Msgid-Bugs-To: \\\
\\"\
\\"POT-Creation-Date: 2009-11-25 11:02-0500\\\
\\"\
\\"PO-Revision-Date: \\\
\\"\
\\"Last-Translator: Juan Sebasti\303\241n Echeverry <sebaxtian@gawa"..., len=0x7ffcff8a3900) at svn.cpp:239

and

#3  0x000055c86f1ceabc in QIODevice_write (baton=0x55c86f530180, 
    data=0x7f5be727d028 "msgid \"\"\nmsgstr \"\"\n\"Project-Id-Version: sk\\n\"\n\"Report-Msgid-Bugs-To: \\n\"\n\"POT-Creation-Date: 2009-11-25 11:02-0500\\n\"\n\"PO-Revision-Date: \\n\"\n\"Last-Translator: Juan Sebastián Echeverry <sebaxtian@gawa"..., len=0x7ffcff8a3900) at svn.cpp:239