About 2,080,000 results
Open links in new tab
  1. gdb split view with code - Stack Overflow

    Apr 11, 2012 · 1 We can use (gdb) layout next to split our interface. This command help us to see higher level language (eg. C, C++ ,etc.) code as well as assembly language code (ASM) with pointer Click …

  2. Show current assembly instruction in GDB - Stack Overflow

    I'm doing some assembly-level debugging in GDB. Is there a way to get GDB to show me the current assembly instruction in the same way that it shows the current source line? The default output after...

  3. gdb - View Both Assembly and C code - Stack Overflow

    Apr 2, 2012 · You can run gdb in Text User Interface (TUI) mode: gdb -tui <your-binary> (gdb) b main (gdb) r (gdb) layout split The layout split command divides the window into two parts - one of them …

  4. How to display the code window when debugging by GDB

    Oct 9, 2013 · Can anyone tell me which command is used to display the source code when debugging through GDB. Would be of great help.

  5. How can I scroll back in GDB's command window in the TUI mode?

    One way to see the GDB output history in TUI mode is to enable logging: set trace-commands on set logging on and then tail the log in another shell: cd where/gdb/is/running tail -f gdb.txt This has the …

  6. terminal - How to highlight and color gdb output during interactive ...

    Please don't reply I should use ddd, nemiver, emacs, vim, or any other front-end, I just prefer gdb as it is, but would like to see its output with some terminal colors.

  7. How to close layout SRC windows in gdb? - Stack Overflow

    When debugging with GDB, i usually using layout src to check my code. But when i open it, i don't know how to close it. It seems that there are some other layout, and when open a new layout, it will

  8. debugging gdb tui define new layout - Stack Overflow

    GNU gdb (GDB) 10.0.50.20200306-git Then I just ran gdb from ~/src/gdb on an executable. I could then do tui new-layout example regs 19 src 21 cmd 20 However, it didn't persist after restarting gdb. But I …

  9. GDB TUI: Scroll assembly view above current instruction?

    10 There seems to be some kind of issue with scrolling assembly in gdb tui like you explain, but a simple workaround exists. So, first enable tui and disassembly view by pressing ctrl+x ctrl+a. Then show …

  10. Assembly GDB switch between GUI tables - Stack Overflow

    Nov 6, 2018 · i'm trying to use the gdb debugger for assembly. I can get into pseudo graphical mode using commands: layout asm layout regs And it appears a screen like this however if i try to switch …