This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB 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]

c++/2012: Termination on resolving watch expression


>Number:         2012
>Category:       c++
>Synopsis:       Termination on resolving watch expression
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 17 20:08:00 UTC 2005
>Closed-Date:
>Last-Modified:
>Originator:     jansen@hbz-nrw.de
>Release:        GDB 6.3 and CVS 6.3.0 branch as of 2005-09-17
>Organization:
>Environment:
SuSE Linux 9.3
Kernel 2.6.11.4-21.9-default i686 athlon i386 GNU/Linux
gcc (GCC) 3.3.5 20050117 (prerelease) (SUSE Linux)
>Description:
Using kdevelop and KDbg GDB seems to crash when trying to resolve a certain watch expression.
I don´t use GDB command line, so I can´t give you the exact command which lead to the problem
>How-To-Repeat:
1)
Get (2.5 MB) and unpack http://www.mico.org/snapshots/mico-2.3.12RC1.tar.gz 
2)./configure --prefix=/opt/mico --disable-coss --disable-csiv2 --disable-events --disable-property --disable-time --disable-optimize --enable-debug
3) make && make install
4) Start Programm:
ird -ORBIIOPAddr inet:tron:8888 --db myird -ORBThreadPool &
idl --no-codegen-c++ --feed-ir --poa /opt/mico/include/mico/poa.idl -ORBIfaceRepoAddr inet:tron:8888
5) Use KDbg, choose Programm "/opt/mico/bin/ird"
6) Open source code, /path/to/micosrc/idl/codgen-idl.cc
7) Add breakpoint in "void CodeGenIDL::emit_idl_type( CORBA::IDLType_ptr t )" at "    switch( tc->kind() ) {" (should be line 1520)
8) Watch expression "tc->CORBA::TypeCode::kind()"
9) Attach to process
10) kill process on cli and continue to breakpoint in debugger
11) gdb session will terminate
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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