This is the mail archive of the cygwin mailing list for the Cygwin 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]

gdb 7.11.1-2 started within emacs fails


Using program foo:
      program foo
      e = 1.0
      stop
      end

$ /usr/bin/gfortran    -g foo.f -o foo

Emacs version info: GNU Emacs 25.1.1 (i686-pc-cygwin, GTK+ Version 3.18.9) of 2016-09-17

Inside emacs I ran M-x gud-gdb and got
... GNU gdb (GDB) (Cygwin 7.11.1-2) 7.11.1 ...
(gdb) b 1
Breakpoint 1 at 0x4011d6: file foo.f, line 1.
(gdb) r
Starting program: /cygdrive/c/Users/harryr/foo.exe
[New Thread 6296.0x22ac]
[New Thread 6296.0x24d4]
readline: readline_callback_read_char() called with no handler!
Debugger aborted (core dumped)

Foo written in C++ also fails with the same message.
Running gdb foo in bash gives the expected result:
gdb stops at first executable line prompting for next gdb command.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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