473,395 Members | 1,622 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

How to debug gcc in Linux

ern
I'm using "gcc" in Linux. I'm kind of new to this... is there a way to
step through the code in debugger mode using this tool? Any debugging
tools for C right out of the box in Linux (RedHat)? Thanks.

Nov 15 '05 #1
1 2877
"ern" <er*******@gmail.com> writes:
I'm using "gcc" in Linux. I'm kind of new to this... is there a way to
step through the code in debugger mode using this tool? Any debugging
tools for C right out of the box in Linux (RedHat)? Thanks.


Your question is about a particular implementation, not about the C
language, so it would have been better to ask it in gnu.gcc.help,
comp.unix.programmer, or one of the Linux groups.

Having said that:

<OFF_TOPIC>
info gdb
</OFF_TOPIC>

If you have any questions beyond that, try one of the above groups
(unless you have a question about the C language, in which case this
is the right place).

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Mike C. Fletcher | last post by:
Every few months I get to working on a Python C extension (built with distutils) and discover a pointer error or the like where I'd like to be able to step into my DLL and see where the extension...
2
by: Sean Berry | last post by:
I want to debug a script that has a line like the following: if len(os.environ) > 0: How do I debug this from the command line. I tried QUERY_STRING='sized=72&shaped=3' ./aqua_getShapes But...
3
by: John Mudd | last post by:
When debugging python, I add print statements such as these. print 'i=%s' % `i` print 'foo()=%s' % `foo()` print 'a,b,c=%s' % `a,b,c` I just want to dump the value of a variable or...
3
by: Raphael Zulliger | last post by:
Hi I have to check wheter a .py script is run within the debug or the release version of an embedded python interpreter (in short, wheter python24_d.dll or python24.dll is in use). long...
6
by: milkyway | last post by:
Hello, I am using Linux (2.6.4) with Suse. I have a core file. I know gdb exists for it but are there any other tools out there that one can use for debugging purposes? Something that can run...
3
by: Martin Wiechert | last post by:
Hi list, I've created a fresh build of Python 2.4.3 using the following configuration $ ./configure --with-pydebug --prefix=/usr/local/debug --enable-shared --with-fpectl --with-signal-module...
46
by: Ian Boyd | last post by:
IIS5, on a Windows 2000 Server machine. Debeg.WriteLine "Hello, world!" How can i view it?
6
by: fayez | last post by:
hi. I'm using DB2 9 Developer Workbench, Debug icon is dim (deactivated), I tried all help tools how to setup, but failed.. Am I missing any installations? or is there any special setting? ...
0
by: ziyanjoe | last post by:
Hi! I am writing a program for the robot that runs as a daemon on a linux machine. Since debug output cannot be seen on stdout, I want to create an iostream to handle all the output messages....
2
by: call_me_anything | last post by:
We have an application which we build on linux and windows. In one particular set of operations (not necessary to describe here), the application crashes in Windows but not in Linux. I am not...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.