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]

[Bug d/20806] New: Error during debug startup


https://sourceware.org/bugzilla/show_bug.cgi?id=20806

            Bug ID: 20806
           Summary: Error during debug startup
           Product: gdb
           Version: 7.12
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: d
          Assignee: unassigned at sourceware dot org
          Reporter: sascha.orlov at gmail dot com
  Target Milestone: ---

Given this code: 

import std.stdio; 

void main()
{
    int ku = 5; 
    writeln(ku); 
}

compiled with 

dmd -debug -g -gc test164.d

and working ok. Calling ./test164 yields 5. 

Starting a debug session yields

gdb test164

GNU gdb (GDB) 7.12
Copyright (C) 2016 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 "x86_64-apple-darwin16.0.0".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from test164...done.
(gdb) run
Starting program: /Users/Alex/Desktop/Tests/test164 
During startup program terminated with signal ?, Unknown signal.
(gdb) quit

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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