How can administrator can make use of GDB?


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users How can administrator can make use of GDB?
# 1  
Old 08-06-2008
How can administrator can make use of GDB?

Hi, I heard lots of about GDB, was going through some documenation but it all in programmers point of view not admin. So my question is how an admin can make use gnu debugger ?

- nilesh
# 2  
Old 08-06-2008
If you're not a programmer, there's no big point using gdb.
# 3  
Old 08-06-2008
Unless you need to look at core files, maybe.
# 4  
Old 08-06-2008
Yep, the most useful information is usually a backtrace to see what function calls a programme was making when it core dumped.

Code:
gdb /usr/bin/somebinary /somedir/core
(gdb) bt


Last edited by jim mcnamara; 08-07-2008 at 11:49 AM.. Reason: complete bold /bold
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

gdb help

i have created some break points in gdb. let's say.... b sqlcxt how can i know the breakpoint name of sqlcxt ??? (1 Reply)
Discussion started by: lipun4u
1 Replies

2. Solaris

Gani Network Driver Won't Install - make: Fatal error: Don't know how to make targ...

I attached a README file that I will refer to. I successfully completed everything in the README file until step 4. # pwd /gani/gani-2.4.4 # ls COPYING Makefile.macros gem.c Makefile Makefile.sparc_gcc gem.h Makefile.amd64_gcc ... (1 Reply)
Discussion started by: Bradj47
1 Replies

3. UNIX for Advanced & Expert Users

Using Gdb

Hi All, I am trying to execute a binary and it is giving Segmentation Fault. Can I use gdb to debug this error? Secondly there is no core file generated , so when I an trying to run gdb with the binary only I am not able to set any breakpoints. When I am running the gdb and the I am... (1 Reply)
Discussion started by: shubhranshu
1 Replies

4. UNIX for Advanced & Expert Users

Gdb

Hi All, I wanted to know if there is a core file generated and I am not sure for which Binary it is generated . Can I use gdb to debug the core file ? Thanks. (1 Reply)
Discussion started by: shubhranshu
1 Replies

5. What is on Your Mind?

Unix Administrator and Linux Administrator transition

Hello Unix Experts, I'm going to be graduating with a CIS (Computer Information Systems) degree in the coming year. I have been offered an internship with a job title of Unix Administrator under a well known company. I understand that Unix is used for high-end servers in many large... (1 Reply)
Discussion started by: brentmd24
1 Replies

6. UNIX for Advanced & Expert Users

Gdb:

Hi, This is a simple question on GDB. Given a core file, how can you check which process has dumped the core? Regards - Krishna (1 Reply)
Discussion started by: krishnamurthig
1 Replies

7. Programming

GDB make error: for m68xx toolchain

Hi people who have more of an idea about this than me, For Uni we have to compile for the m68hc11. So I've set about setting up the toolchain so I can work at home as indicated here. My problem is a make error when compiling GDB make: *** No rule to make target `-lm', needed by `gdb'.... (1 Reply)
Discussion started by: madteckhead
1 Replies

8. Programming

gdb Tutorials

Can anyone give me the link to a website having gdb tutorials (for advanaced debugging & shortcuts) http://www.burneddowndays.com/talk/YaBBImages/rolleyes.gif (1 Reply)
Discussion started by: wojtyla
1 Replies

9. Programming

gdb command

I'm having problem understanding the how to use gdb command to debug my program. Can anyone give me some suggestion how to start, and examples. I read the manual in unix...I'm still confuse. (6 Replies)
Discussion started by: Confuse
6 Replies

10. Programming

GDB or DBX??

Which is better?? I have always been a gdb fan.. But ppl say dbx is beter better for debugging the core.. Do all GDB lovers agree to it??? :cool: (1 Reply)
Discussion started by: jyotipg
1 Replies
Login or Register to Ask a Question