Debian Bug report logs - #794558
gdb in eclipse terminates after entering main in c++ program

version graph

Package: gdb; Maintainer for gdb is Héctor Orón Martínez <[email protected]>; Source for gdb is src:gdb (PTS, buildd, popcon).

Reported by: developer <[email protected]>

Date: Tue, 4 Aug 2015 12:00:02 UTC

Severity: normal

Found in version gdb/7.7.1+dfsg-5

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 4 Aug 2015 11:56:41 +0000
From [email protected] Tue Aug 04 11:56:40 2015
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-10.9 required=4.0 tests=BAYES_00,
	DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FOURLA,FREEMAIL_ENVFROM_END_DIGIT,
	FREEMAIL_FROM,HAS_PACKAGE,HELO_MISC_IP,NML_ADSP_CUSTOM_MED,RDNS_NONE,
	SPF_NEUTRAL,XMAILER_REPORTBUG,X_DEBBUGS_CC autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 19; hammy, 150; neutral, 103; spammy,
	0. spammytokens: hammytokens:0.000-+--systemd, 0.000-+--H*M:reportbug,
	0.000-+--H*MI:reportbug, 0.000-+--H*x:6.6.3, 0.000-+--H*UA:6.6.3
Return-path: <[email protected]>
Received: from [217.24.20.62] (helo=[127.0.1.1])
	by buxtehude.debian.org with esmtp (Exim 4.84)
	(envelope-from <[email protected]>)
	id 1ZMapk-0005uT-Hh
	for [email protected]; Tue, 04 Aug 2015 11:56:40 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: developer <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: gdb in eclipse terminates after entering main in c++ program
Message-ID: <20150804115632.7093.13918.reportbug@Debian-8>
X-Mailer: reportbug 6.6.3
Date: Tue, 04 Aug 2015 07:56:32 -0400
X-Debbugs-Cc: [email protected]
Delivered-To: [email protected]
Package: gdb
Version: 7.7.1+dfsg-5
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
    Debugging simple C++ program; first lines in main() were:
        int arr[] = { 100, 110, 120, 130 };                     //-- Line 1.
        vector<int> v(arr, arr + sizeof(arr) / sizeof(int));    //-- Line 2.
        cout << "v<int> before insert: ";                       //-- Line 3.
    as you can see, noting unusual;

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
        - entered debugging mode: pressed "Debug" button
        - pressed "bug" icon to start program in debug mode
        - debuger stoped at first line in main() - int arr[] = ...
        - pressed F6 to go to second line

   * What was the outcome of this action?
        - debuger terminated; in the "Debug" window, the only message was:
<terminated, exit value:-1>gdb
   * What outcome did you expect instead?
        - the program had to proceed to Line 2, Line 3 and so on

        BTW, This Debian-8 works under VMWare-7;

*** End of the template - remove these template lines ***



-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.16.0-4-686-pae (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages gdb depends on:
ii  libc6         2.19-18
ii  libexpat1     2.1.0-6+deb8u1
ii  liblzma5      5.1.1alpha+20120614-2+b3
ii  libncurses5   5.9+20140913-1+b1
ii  libpython2.7  2.7.9-2
ii  libreadline6  6.3-8+b3
ii  libtinfo5     5.9+20140913-1+b1
ii  zlib1g        1:1.2.8.dfsg-2+b1

Versions of packages gdb recommends:
ii  gdbserver             7.7.1+dfsg-5
ii  libc6-dbg [libc-dbg]  2.19-18

Versions of packages gdb suggests:
pn  gdb-doc  <none>

-- no debconf information



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 09:35:33 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.