Re: weird -current gdb/gcc(?) problem

2001-11-01 Thread Andrew R. Reiter
On Thu, 1 Nov 2001, Maksim Yevmenkin wrote: :inet_addr() :__inet_aton() :inet_addr() :__inet_aton() : I've had similar issues. I just sent in a pr yesterday where the recursive call was to sigprocmask() -- this happened when I managed to core sysinstall and when I managed to core cvs remotely.

Re: weird -current gdb/gcc(?) problem

2001-11-01 Thread Maksim Yevmenkin
Joerg, > > first of all i want to apoligize. i sent the wrong output. yes, it > > does the right thing if you use "-g" switch, however it does not > > work for me if i use "-ggdb" switch. > > Indeed, the output generated with -ggdb looks weird. But then, it > never occurred to me to use -ggdb a

Re: weird -current gdb/gcc(?) problem

2001-10-31 Thread Joerg Wunsch
As Maksim Yevmenkin wrote: > first of all i want to apoligize. i sent the wrong output. yes, it > does the right thing if you use "-g" switch, however it does not > work for me if i use "-ggdb" switch. Indeed, the output generated with -ggdb looks weird. But then, it never occurred to me to use

Re: weird -current gdb/gcc(?) problem

2001-10-31 Thread Maksim Yevmenkin
Joerg, > > i have some weird problem. > > Well, it would have been nice if you had told what you deemed to > be the problem. ;-) I can't find any problem at all... > > > Breakpoint 1, main () at prog1.c:8 > > 8 return (foo(1, 2, '3', "test")); > > (gdb) s > > foo (i=1, s=10244, c=-

Re: weird -current gdb/gcc(?) problem

2001-10-31 Thread Joerg Wunsch
Maksim Yevmenkin <[EMAIL PROTECTED]> wrote: > i have some weird problem. Well, it would have been nice if you had told what you deemed to be the problem. ;-) I can't find any problem at all... > Breakpoint 1, main () at prog1.c:8 > 8 return (foo(1, 2, '3', "test")); > (gdb) s > foo

[Fwd: weird -current gdb/gcc(?) problem]

2001-10-31 Thread Maksim Yevmenkin
"Alexander N. Kabaev" wrote: > > What is the problem exactly? It is hard to guess that from the > information you posted. > > > foo (i=1, s=10244, c=-54 'J', str=0x804855b "test") at prog1.c:13 > Is that what bothers you? It happens because > your code is compiled with no optimization, and t

weird -current gdb/gcc(?) problem

2001-10-31 Thread Maksim Yevmenkin
Hackers, first of all i want to apologize for posting this in -current. this should probably go into -questions. i have some weird problem. i have cvsup'ed and installed -current yesterday. i have attached script(1) output. quick search came up with nothing. did i miss anything? thanks max S