Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
105 user(s) are online (87 user(s) are browsing Forums)

Members: 0
Guests: 105

more...

Headlines

Report message:*
 

Re: GDB

Subject: Re: GDB
by kas1e on 2021/2/23 14:05:51

@billyfish

It seems that "illegal seek" on newlib indeed happens inside of bfd/format.c's bfd_check_format_matches().

The error seems to come from the bfd_seek on line 206: https://github.com/kas1e/gdb/blob/main/gdb-7.5.1/bfd/format.c#L206

At least if i add prinfs before all 3 bfd_seeks() in that fucntion, i have printfs before that one when it quite with "illegal seek". But, if i comment this one out, it still exit, and still with the same illegal seek :) We may need to prinfs values of abfd, and file_ptr on both newlib and clib2 builds, so we can see if values are differs much.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project