| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: gdb and the General Terminal Interface |
* Crossposted in OS2.PROG.GER
* Crossposted in OS2NET.PROGRAMMIERUNG.GER
* Crossposted in OS2PROG
======================================================================
From: Eberhard Mattes
Dave Ulrick writes:
> I'm developing an OS/2 text-mode program with emx 0.9b
> [...] and I'm attempting to use the tcsetattr
> function to switch the keyboard into a get one key at a time with no
> echo mode. [...]
> *However*, when I run my program in single-step mode inside gdb, I
> frequently see error messages which indicate that gdb was unable to set
> breakpoint 0. The output of such gdb commands such as "info stack" or
> "frame" shows that gdb has lost track of my program's stack frames.
tcsetattr() starts a new thread. emx.dll 0.9b and GDB of emx 0.9b
cannot be used to debug multithread programs. Upgrade to emx 0.9c.
> (Curiously, the gdb "info terminal" command shows no change in the
> termios fields after I invoke tcsetattr, although the keyboard's
> behavior *definitely* changes (as desired) after the call.)
In my port of GDB, `info terminal' applies to GDB's terminal, not to
the debuggee's terminal.
Eberhard Mattes
-------------
To unsubscribe send a message to majordomo{at}IAEhv.nl with in the body:
unsubscribe emx
Report serious problems at: emx-owner{at}.IAEhv.nl.
======================================================================
--- E3-32/1.11-32/2.51+
* Origin: Die TeX-Box +49-6034-930021 V.34 -930022 ISDN 24h (2:244/1130.42)SEEN-BY: 50/99 54/99 270/101 620/243 625/0 160 711/409 410 413 430 808 809 SEEN-BY: 711/934 955 712/311 407 505 506 517 623 624 704 841 713/317 800/1 @PATH: 244/1130 1634 24/888 396/1 270/101 712/624 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.