Sponsored Content
Full Discussion: Abrupt GDB Behaviour
Top Forums UNIX for Dummies Questions & Answers Abrupt GDB Behaviour Post 302792559 by Praveen_218 on Wednesday 10th of April 2013 03:36:37 PM
Old 04-10-2013
Quote:
Originally Posted by rupeshkp728
I am using just n and not "n N" and still its showing me further lines though not executing them.
This is what I want to convey. Simply using 'n' and it behaves like 'n 1' as default. In your case it's 'n 7' as default. So just try explicitly as 'n 1' and see what happens. You may also try 'n -6' , 'n -2', 'n -1' to observe what happens.

My suggestion:
Just look at the release note of the GDB version your using or the latest manual for 'stepping' and/or 'next' behavior of the latest release.
This User Gave Thanks to Praveen_218 For This Post:
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. Solaris

gdb for SunOS 5.6

I want to install gdb on SunOS 5.6 machine. Where can i download from ? (1 Reply)
Discussion started by: shafi2all
1 Replies

4. 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

5. 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

6. 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

7. Programming

gdb not found

Hello, I am having problem with debugging my code. I am writing a C code and then I compile it with the Makefile. I make a target file and then copy it in my Robot(Khepera III) and then run the program over there. I compile it ofcorse on my machine and then copy the compiled file in the... (10 Replies)
Discussion started by: mind@work
10 Replies

8. 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

9. Programming

Qemu + gdb

Hi, I got: host machine: RedHat (RHEL6) virtual machine: RedHat (RHEL6) I run (on host machine): qemu-system-x86_64 ...... -S -s after that i run (on host machine): gdb target remote localhost:1234 set architecture i386:x86-64 and then i can use (on host machine) 'ctrl + c' to... (2 Replies)
Discussion started by: Chrisdot
2 Replies

10. Programming

Gdb backtrace

Hi, all I try to understand the output from gdb Program received signal SIGABRT, Aborted. *** glibc detected *** /home/sys_cbo/dev/zif/bin/Debug/zifd: free(): invalid pointer: 0x00007fffac04d3d0 *** how should i read this? (gdb) backtrace #0 0x0000003015e32925 in raise () from... (1 Reply)
Discussion started by: huvcbo
1 Replies
DISTRO-INFO(1)						      General Commands Manual						    DISTRO-INFO(1)

NAME
distro-info - provides information about the distributions' releases SYNOPSIS
distro-info [OPTIONS] DESCRIPTION
distro-info is a symlink to the distro-info command for your distribution. On Debian it links to debian-distro-info and on Ubuntu it links to ubuntu-distro-info. All options described in this manual page are available in all distro-info commands. All other options, which are not described here, are distribution specific. OPTIONS
--date=DATE date for calculating the version (default: today) -h, --help display help message and exit -a, --all list all known versions -d, --devel latest development version -s, --stable latest stable version --supported list of all supported stable versions --unsupported list of all unsupported stable versions -c, --codename print the codename (default) -r, --release print the release version -f, --fullname print the full name SEE ALSO
debian-distro-info(1), ubuntu-distro-info(1) AUTHOR
The script and this manual page was written by Benjamin Drung <bdrung@debian.org>. distro-info January 2011 DISTRO-INFO(1)
All times are GMT -4. The time now is 10:46 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy