This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug gdb/12122] New: 'argc' bad value
- From: "vladimir dot kokovic at a-asoft dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Thu, 14 Oct 2010 11:24:40 +0000
- Subject: [Bug gdb/12122] New: 'argc' bad value
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=12122
Summary: 'argc' bad value
Product: gdb
Version: HEAD
Status: NEW
Severity: critical
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: vladimir.kokovic@a-asoft.com
Hi,
After installing Kubuntu Maverick gdb presents an incorrect value for the
variable 'argc':
LD_LIBRARY_PATH=\
/asoft-src/ispp/libodbc++-0.2.3/libodbc-without-symlinks/dist/Debug/GNU-Linux-x86:\
/asoft-src/ispp/win32/PDCurses-2.6/xcurses-without-symlinks/dist/Debug/GNU-Linux-x86:\
/asoft-src/ispp/win32/vklib-without-symlinks/vklib/dist/Debug/GNU-Linux-x86 \
/opt/gdb-cvs/bin/gdb --args \
/asoft-src/ispp/win32/ispp-without-symlinks/dist/Debug/GNU-Linux-x86/ispp-without-symlinks
"-xDRIVER=PostgreSQL;DATABASE=ispp-pionir-test;SERVER=asoftdev.a-soft.com;PORT=5432;UID=vlada;PWD=vladakk;MaxVarcharSize=65536;MaxLongVarcharSize=65536;ByteaAsLongVarBinary=1"
GNU gdb (GDB) 7.2.50.20101014-cvs
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from
/asoft-src/ispp/win32/ispp-without-symlinks/dist/Debug/GNU-Linux-x86/ispp-without-symlinks...done.
(gdb) br main
Breakpoint 1 at 0x81ffac8: file ../cc/ispp.cpp, line 346.
(gdb) run
Starting program:
/asoft-src/ispp/win32/ispp-without-symlinks/dist/Debug/GNU-Linux-x86/ispp-without-symlinks
-xDRIVER=PostgreSQL\;DATABASE=ispp-pionir-test\;SERVER=asoftdev.a-asoft.com\;PORT=5432\;UID=vlada\;PWD=vladakk\;MaxVarcharSize=65536\;MaxLongVarcharSize=65536\;ByteaAsLongVarBinary=1
[Thread debugging using libthread_db enabled]
Breakpoint 1, main (argc=-1073745448, argv=0xbffff204) at ../cc/ispp.cpp:346
346 FUNKCIJA int main( int argc, char *argv[] ) {
(gdb) quit
A debugging session is active.
Inferior 1 [process 17851] will be killed.
Quit anyway? (y or n) y
Because of this error we can no longer debug our c++ programs!
Best regards,
Vladimir KokoviÄ, Dragan ÄiriÄ
DP seniors, Belgrade, Serbia
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.