viewtouch icon indicating copy to clipboard operation
viewtouch copied to clipboard

Running GDB (the GNU Debugger): Update

Open GeneMosher opened this issue 4 years ago • 0 comments

How to Debug with GDB: Frank Graziano offers this correction / update.

Open two terminals, Window 1 and Window 2. Window 1: gdb vtpos b 153 - this is where loader calls vt_main run

Window 2: gdb vt_main b xxx - any line number

Window 1: jump 154 - skip over calling vt_main

Within a few seconds switch to Window 2 and issue GDB command: run /tmp/vt_main

GDB will run vt_main, stopping at the specified breakpoint.

GeneMosher avatar Mar 23 '20 18:03 GeneMosher