29 янв. 2013 г. · The list command prints a set of lines, but I need one single line: where I currently am and where an error has probably occurred. |
25 мар. 2011 г. · Use layout reg to have gdb show a table of all integer and flag registers, highlighting the one(s) changed by the previous instruction. |
9 мая 2011 г. · I've found that you can redirect the output from gdb to a file via the run command: (gdb) run > outfile |
8 мая 2013 г. · I am trying to develop a simple text based user interface which runs some gdb commands. I want to user to be able to set and break/trace point at a certain ... |
5 мар. 2012 г. · Basically, I want to get typeid(*this).name(), ie the real type of this. I want to get this in GDB (without modifying the source code). |
19 мая 2015 г. · To print a variable in gdb you can use the print command (gdb) print counter. You can set a breakpoint on line 10 with break 10. And then attach a sequence of ... |
24 окт. 2008 г. · To print the first 300 characters of a string you can use x/300s your_string. The output might be a bit harder to read. |
12 янв. 2012 г. · I'd like to do printf style printing from GDB. For instance, I want to print a variable value, but with some text to describe what it is. Can it be done? |
12 мар. 2012 г. · Currently, when I print the value of a variable v in GDB ( print v ) I get an integer. Is it possible to have GDB print such integer variables in hexadecimal ... |
11 сент. 2011 г. · If an object of class type A is at a specific address such as 0x6cf010, then we can use: (gdb) p *(A *) 0x6cf010 to print the member elements of this object. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |