[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] GDB problem



2011/9/27 Helmut Karlowski <helmut.karlowski@ish.de>:
> Am 27.09.2011, 23:01 Uhr, schrieb Alan Hourihane <alanh@fairlite.co.uk>:
>
>> On 09/27/11 18:57, Alan Hourihane wrote:
>>>
>>> On 09/27/11 18:45, Adam Kłobukowski wrote:
>>>>
>>>> W dniu 27.09.2011 19:36, Miro Kropáček pisze:
>>>>>
>>>>>    No -O at all.
>>>>>
>>>>>    Still the same :(
>>>>>
>>>>> Specially, do what has been suggested from the beginning -- try gcc
>>>>> 2.95. If this doesn't work, your files are corrupted.
>>>>
>>>> Tried that. Gcc 2.95 can't compile it at all :(
>>>>
>>>> Ok, I've put it here (sources +my binaries) here for anyone intrested
>>>> to try: http://dl.dropbox.com/u/174491/procps-3.2.8-adamk.tar.bz2
>>>>
>>>> You can trigger bug I'm after trying ps u.
>>>
>>> I'll take a look.
>>>
>>
>> You can disable the sighandler code for now so ps doesn't catch it, and
>> "ps u" works, but I think there's a lot of output problems that need
>> fixing, and you'll probably bump into the real bug by fixing the display
>> output. I get output like this.....
>>
>> falcon procps-3.2.8 # ./ps/ps u
>> Non-standard uts for running kernel:
>> release 1.18a=1.18.0 gives version code 70144
>> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
>> root         1 20.9  0.0   1464     0 ?        Ds   20:59   0:07
>> U:/j/bin/bash
>> root         2  0.0  0.0     96     0 ?        S    20:59   0:00 [update]
>> root        13 113236 0.0 1496     0 ?        Rs   20:59 679:25
>> U:/bin/bash
>> root       260 85.8  0.0   3024     0 ?        T    20:59   0:30
>> U:/bin/bash /usr/lib/portage/bin/ebuild.sh
>> root       278  681  0.0   3024     0 ?        T    20:59   4:05
>> U:/bin/bash /usr/lib/portage/bin/ebuild.sh
>> root       431 5178 0.0 4352     0 ?        T    20:59  31:04
>> U:/usr/bin/gmake -j 1
>> root       451  0.4  0.0    696     0 ?        Rs   20:59   0:00
>> U:\j\root\procps-3.2.8\./ps/ps u
>> root       515 3255 0.0 1696     0 ?        T    20:59  19:31
>> U:/bin/sh ./bootstrap --prefix=/j/var/tmp/
>> root       577  502  0.0   2792     0 ?        T    20:59   3:00
>> U:/usr/lib/ccache/bin/m68k-atari-mint-g++
>> root       580  0.1  0.0    496     0 ?        T    20:59   0:00
>> U:/usr/m68k-atari-mint/gcc-bin/4.5.2/m68k-
>> root       581 12550  0.0 114808    0 ?        T    20:59  75:18
>> U:/j/usr/m68k-atari-mint/gcc-bin/4.5.2/../
>> root       582 37.6  0.0   3368     0 ?        T    20:59   0:13
>> U:/j/usr/m68k-atari-mint/gcc-bin/4.5.2/../
>> root       947 8450  0.0  27664     0 ?        Ts   20:59  50:42
>> U:/usr/bin/python2.7 /usr/bin/emerge dev-u
>>
>> Note that %CPU is wrong, TTY shows ?, they're all at the same START time
>> too.
>
> I get:
>
> USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
> root         1  0.0  0.0    424     0 ?        Ds   23:37   1:39
> U:/home/root/KSHA.PRG
> root         2  0.0  0.0   1080     0 ?        S    23:37   0:00 [update]
> root       125  0.0  0.0     16     0 ?        Ss   23:37   0:00
> U:\c\mint\1-17-cur\xaaes\.\xaloader.prg xaaes030.km
> root       126  0.0  0.0   1080     0 ?        S    23:37   0:00 [AESSYS]
> root       127  0.0  0.0   1080     0 ?        D    23:37   0:00 [aesthred]
> root       128  0.0  0.0   1080     0 ?        D    23:37   0:00 [XaSYS]
> root       129  0.0  0.0    560     0 ?        D    23:37   0:00
> U:\usr\gem\toswin2.app
> root       130  0.0  0.0    392     0 ?        Ds   23:37   0:01 U:\bin\sh
> root       133  0.0  0.0    696     0 ?        Rs   23:37   0:00
> U:\f\download\procps\.\ps u
>
> (all CPU=0, START is current time).

Your output differs from mine, You got 0 in MEM, and I got something
like MAXLONG there. I'm using 1.17 kernel from CVS.

Can you guys try ps axu? and top?

On a bit other topic, I'm do not know what

Non-standard uts for running kernel:
release 1.18a=1.18.0 gives version code 70144

mean and where does it come from. I do not see it in procps sources,
is it MiNTLib? What, where, why?

Btw. IMO, the output is fine - try terminal with more columns.

I'm gonna try it with 1.18 later today. The default CVS is 1.17, chow
can I check out 1.18?

-- 
Semper Fidelis

Adam Klobukowski
adamklobukowski@gmail.com