print « gdb « C Q&A

Home
C Q&A
1.assembly
2.buffer
3.Card
4.Cast
5.compile
6.console
7.const
8.constructor
9.database
10.Date
11.Debug
12.Design
13.Development
14.DLL
15.encrypt
16.enum
17.eof
18.Event
19.fork
20.Format
21.gcc
22.gdb
23.graph
24.graphics
25.gui
26.Holiday Event
27.image
28.IP
29.iterator
30.macro
31.makefile
32.malloc
33.Menu
34.mysql
35.network
36.openssl
37.operator
38.password
39.pipe
40.preprocessor
41.printf
42.pthread
43.Regular expression
44.scanf
45.semaphore
46.SerialPort
47.server
48.Socket
49.sql
50.SQLserver
51.sscanf
52.std
53.stdin
54.stdout
55.stl
56.strcmp
57.stream
58.switch
59.Template
60.thread
61.timer
62.unix
63.video
64.Virtual
65.visualstudio
66.winapi
67.windows
68.xml
C Q&A » gdb » print 

1. how do I print a #defined constant in GDB?    stackoverflow.com

As per subject. I have some constants hash defined like so:

#define CONST 40
I've set a break point in my program. How do I print the value of that constant? (I know ...

2. How to make gdb print out all values in hexadecimal mode?    stackoverflow.com

By default, gdb always prints/displays all variables / arguments in base 10. Is there any way to ask gdb to always use base 16 while printing anything (and turn back to ...

3. How do I get gdb to print wchar_t's?    stackoverflow.com

When I debug on Ubuntu (the same code) gdb automatically prints out wchar_t values. I do not know why google results say that gdb doesnt know how to print wchar_t values ...

4. printing map through gdb    bytes.com

5. Printing problems in gdb    bytes.com

Hi, I am facing certain problems when I want to view the data from variables or objcets. If i am trying to view the objects or characters, sometimes it is showing adresses and some times it is showing null adress like 0x0 . Example is given below 297 strncpy( itemData, dataString, dataLen); (gdb) n 298 return WCO_OK; (gdb) p itemData $12 ...

6. GDB Debugger Print Options    forums.devshed.com

All this time I've been coding in C++, I've shyed away from using a debugger because I knew it would be an undertaking to really understand it and use it well. I just gave in though, a couple days ago, and now I need some help with how the debugger gives me information about my program. I found a couple tutorial ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.