Operating System - HP-UX
1847301 Members
2165 Online
110264 Solutions
New Discussion

Regarding the usage of "-g" compilation in 11.23 IA

 
V_4
Occasional Contributor

Regarding the usage of "-g" compilation in 11.23 IA

hi
I want to load certain datastructures in the kernel for debugging purposes. The present code works fine in 11.23 PA systems. But now, with a crash dump,Iam unable to load my symbols through q4. Do I need to use any other compiler option other than '-g' ?
thanks
V.
1 REPLY 1
Paula J Frazer-Campbell
Honored Contributor

Re: Regarding the usage of "-g" compilation in 11.23 IA

HI

The Q4 debugger reference documentation comes as part of the Q4 fileset, OS-Core.Q4, which is installed by default as part of the OS Core product. The documentation is in the file /usr/contrib/doc/Q4Docs.tar.Z.

To access the documentation, enter the following commands, as super-user (root):

# cd /usr/contrib/doc
# uncompress Q4Docs.tar.Z
tar xvf Q4Docs.tar

This extracts the following four Postscript documents:

A beginner's guide to debugging with Q4

This guide, using real-world examples, will help to get you started using Q4 as quickly as possible. Additionally, it shows you some useful tricks for looking at crashdumps.
Reference manual

This manual describes Q4's command syntax and semantics.
Programmer's reference manual

This manual describes Q4's programmer's interface. If you want to write Q4 programs and you've already read the Reference Manual, this manual is the next logical step.
Kernel developer's guide

This manual describes how to add Q4 support to the kernel for new data structures and how to make changes to the kernel without disturbing the debugger support that's already there.


Paula
If you can spell SysAdmin then you is one - anon