This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: off-topic traceback weirdness


On Friday, May 9, 2003, at 05:21 PM, Robert Schweikert wrote:
Sorry for being off topic but I have run of ideas and people to ask.

If you use our list, the right list is gcc-help. Failing that, the gdb list would be a `better' place to ask, but it is also wrong I suspect.


Please compile with -g, please find an expert that you can ask questions of, we (this gcc list) ain't it, in general. If you fail, ask google, he knows everything.

After that, please run gdb under emacs (see the emacs manual on how to do that, quick hint, M-x gdb will do it).

After that, type:

	b oneA.c:12
	run

and then:

p myFoo

and then ask your self what dereferencing NULL will do. Then type:

next

and see if you are right.


:-)


I hope this helps.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]