- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Few questions on GDB ( GNU DEBUGGER)
Operating System - Linux
1823920
Members
3161
Online
109667
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 02:46 AM
тАО05-26-2009 02:46 AM
Few questions on GDB ( GNU DEBUGGER)
Hi All,
I am New to use gdb tool. I am facing couple of issues to use gdb tool. Can you please help by answering the following questions.
(1) How can I fetch my data structures from a core dump file? (like a specific variable value, a pointer value , or strcucture member value..etc).
(2) What is the use of "-s" option and how we can use this
(3) From a running process how I can fetch my data structures ?
(4)To analyze a core dump, do we need to the source files and executable file? If so, how to analyze a core dump using its sources.
(5) How to tell the gdb to look into a specific directory for source files or executables.
Thanks for your help in advance.
Regards
Masthan
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 06:29 AM
тАО05-26-2009 06:29 AM
Re: Few questions on GDB ( GNU DEBUGGER)
Hello Masthan
i am not really good in gnu, but can suggest you below few url, thanks,
http://www.yolinux.com/TUTORIALS/GDB-Commands.html
http://arioch.unomaha.edu/~jclark/gdb_plus.html
i am not really good in gnu, but can suggest you below few url, thanks,
http://www.yolinux.com/TUTORIALS/GDB-Commands.html
http://arioch.unomaha.edu/~jclark/gdb_plus.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2009 10:38 PM
тАО05-26-2009 10:38 PM
Re: Few questions on GDB ( GNU DEBUGGER)
what you need to do is compile your programs with debug information. when you do that you can easily use gdb to do any of those things, in fact it's all transparent.
i recommend to use the gdb gui though, it makes life much easier. i always used ddd, but there is also insight (developed by redhat).
ddd: http://www.gnu.org/software/ddd/
insight: http://sources.redhat.com/insight/index.php
i recommend to use the gdb gui though, it makes life much easier. i always used ddd, but there is also insight (developed by redhat).
ddd: http://www.gnu.org/software/ddd/
insight: http://sources.redhat.com/insight/index.php
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP