Re: Error referencing symbols in gdb when compiled with gcc 3.4.6

2007-07-18 Thread Michael Eager
Kalpana Ramamurthy wrote: Hello, I am having a problem when using gcc 3.4.6. My code was compiled earlier using gcc 3.2.2 with the -g option. I was able to print the addess of any symbol or do a "ptype" on any symbol using gdb 6.4 with the generated binary. Now I compile the very same code u

Error referencing symbols in gdb when compiled with gcc 3.4.6

2007-07-18 Thread Kalpana Ramamurthy
Hello, I am having a problem when using gcc 3.4.6. My code was compiled earlier using gcc 3.2.2 with the -g option. I was able to print the addess of any symbol or do a "ptype" on any symbol using gdb 6.4 with the generated binary. Now I compile the very same code using gcc 3.4.6 using the -g