1. strange behavior from "gdb" and "ObjectCenter"
I've recently noticed an odd problem that I can repeat with both
ObjectCenter and gdb, on Solaris 2.3.
My simple test case looks like this:
int main(int argc, char *argv[])
{
printf("1.\n");
getchar();
printf("2.\n");
If I compile and link this, load it into either gdb or objectcenter,
run it, wait for the first "printf" to finish, and then press ^C to
get back to the debugging prompt, I then enter:
printf("3.\n")
and press return (in "gdb", I need "call" before the printf"), I
should see the function execute and print "3". However, what happens
is exactly nothing. The cursor goes to the left margin and nothing
happens. I waited quite a while and then thought to press Return. It
then executed the printf. I then tried changing the "getchar" to a
call to "sleep(30)". Instead of having to press Return, I just waited
about 20 seconds more and then it executed the printf.
I also found that if I set a breakpoint at "printf" and called the
function from the prompt, it would hit the breakpoint before going
into idle mode. When I continued from the breakpoint, it then went
into idle mode.
In addition, I tried setting breakpoints in the application and
waiting until the debugger hit the breakpoint. At that point, I would
try calling the printf from the prompt, and that worked fine.
I have not upgraded my versions of "gdb" (4.14) or "objectcenter"
(2.1). I don't remember when I last saw this scenario work correctly
(I've used this scenario for real work many times in the past). It's
possible I've updated the jumbo patch on my workstation since then,
but I also repeated this on another workstation with an older jumbo
patch. It is possible that this stopped working about the time we
moved to using ClearCase, however my test case isn't in a MVFS
filesystem, so it doesn't seem like it would matter.
2. ISA NIC
3. : Weird ">" redirect behavior vs. ">>" redirect behavior
4. How to automate ftp from Windows NT directory to UNIX directory
5. GETSERVBYNAME()????????????????????"""""""""""""
6. locate, find and book suggestions...
7. """"""""My SoundBlast 16 pnp isn't up yet""""""""""""
8. Problems printing - EVEN USING THE "HOW TO" ???
9. Strange "w", "who" and "uptime" output
10. Type "(", ")" and "{", "}" in X...
11. terminal behavior after "man", "less", etc.
12. Incorrect key "translation" behavior for "xterm"
13. I need help with "while" Vs "for" bizarre behavior