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

Re: [MiNT] GDB 5.0?

> -----Original Message-----
> From: Frank Naumann [mailto:fnaumann@cs.uni-magdeburg.de]

> Hello!

Thanks for the response!

> > Howdy there, I've just started dusting off my old stuff and ran
> into another
> > problem. I have updated my MiNTnet CAB.OVL using the current
> libraries and
> > such, but it's not working quite right. I blew away all my old utilities
> > (while trying to get my MinixFS partitions straight. sigh...) so I can't
> > fall back to my old gdb. The new gdb 5.0 is unable to attach to
> my running
> > process, so I can't debug anything.

> What error happen?

No error message, but I don't get the command prompt back after trying
to attach. I know it did something, because when my target process tries
to exit, I get the termination message in gdb, and the processes don't
go away until I exit gdb. But I never get control back in gdb before the
process terminates.

> MinixFS doesn't have backups of the superblock. The only way of recover it
> is to write a new superblock (without initalizing the rest of the drive; I
> think the fsck have such an option). Just use the same values as you used
> for initializing the partition.

OK, thanks for the tip.
  -- Howard