Description:
gcc/g++ DeBugger bugs and suggested fixes.
|
|
|
gdb 7.5.91 resolves symbolic links when passing argv[0]
|
| |
I've reported this to the Ubuntu bug tracker, but judging from the
package files, I can't find proof that it has been introduced
downstream.
The Ubuntu problem description is at
<URL:[link]>. I
copy the description and example here:
Calling gdb on an executable that is a symbolic link will pass the... more »
|
|
GDB all VERSION
|
| |
hi, I write for the tool gdb, this has a bug.
you should compile this code with gcc proof.c -o proof .
...
int main(int argc,char** argv)
{
if( argc == 2 )
{
printf("%s",argv[1]);
}
return 0;
...
the next step is run gdb -q proof and put a breakpoint in function printf.... more »
|
|
Problem with user defined commands
|
| |
Hi All, User defined commands gets messed up if a definition has a name starting with "ws" and called from another definition. Is it a known defect? Any workarounds? bash-3.2$ cat test.gdb
define wsbaz
printf "wsbaz\n"
enddefine foo
wsbaz
enddefine bar
printf "bar\n"
end bash-3.2$ ./gdb... more »
|
|
error while configure in gdb
|
| |
Dear Contact Person,
I am trying to connect GDB-7.5.50-1 to the target but I am getting an error
Configuring in ./libiberty
configure: loading cache ./config.cache
configure: error: cannot find install-sh, install.sh, or shtool in ./../..
"."/./../..
Makefile:6757: recipe for target `configure-libiberty' failed... more »
|
|
Types table size and format in the .gcc_exception_table
|
| |
As part of my research I am updating the .gcc_exception_table of a binary 64 bit elf file. For small C++ programs that throw exceptions it works OK, but for large benchmark programs it's not working. My question is does GCC stores more than one table inside the .gcc_exception_table section of the elf file. If it does what's the exact format of these tables. I have some knowledge of the action table, action records and types table. I am not clear about the size of the types table.... more »
|
|
Program received signal SIGFPE, Arithmetic exception
|
| |
Hi.
I have the program a FORTRAN90 and when I debug with gdb, is shown
Program received signal SIGFPE, Arithmetic exception.
0x00000000004060be in MAIN__ ()
How to find the line where the error was found ?
Thanks
|
|
GDB seg fault
|
| |
Hello,
I'm new to gdb. I was debugging one of my school assignments in emacs with
gdb, when gdb stopped I got a message 'Debugger Segmentation Fault' and gdb
prompt had stopped working. I fired it up again and it went smooth. I would
like to trace this why it happened. Can somebody guide how can I start... more »
|
|
|