🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Roland McGrath Mon, 08 May 1989 01:37
GDB 3.1.1 bugs
#773
Author: Roland McGrath
Date: Mon, 08 May 1989 01:37
18 lines
1010 bytes
GDB 3.1.1 doesn't grok `long int', `unsigned int', etc.
(It takes only `long', `unsigned', `short', etc.)

Since `unsigned', `short', and `long', are type-modifiers,
not types, GDB should certainly accept their use in that capacity.

Also, GDB 3.1.1 treats unknown externals as type `char'.
For example, "p errno" prints one byte of the 4 in the `int' value.
"p read" prints the first byte in the code of the `read' function.

I think these should be treated as addresses of unknown type:

(gdb) p errno
{unknown} 0x2525

similar to
(gdb) p foo_func
{int ()} 0x5252
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads