Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 2009 14:37:19 +0300
From:      Kostik Belousov <kostikbel@gmail.com>
To:        "Mikhail T." <mi+thun@aldan.algebra.com>
Cc:        pav@freebsd.org, current@freebsd.org
Subject:   Re: recent changes to 8.0 broke the devel/gdb6 port
Message-ID:  <20090613113719.GC23592@deviant.kiev.zoral.com.ua>
In-Reply-To: <4A32E0C8.2010701@aldan.algebra.com>
References:  <4A32E0C8.2010701@aldan.algebra.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Y5rl02BVI9TCfPar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 12, 2009 at 07:12:08PM -0400, Mikhail T. wrote:
> The full log is here:
>=20
>     http://pointyhat.FreeBSD.org/errorlogs/amd64-errorlogs/a.8.2009061121=
3544/gdb-6.6_1.log
>      =20
>=20
> but it ends with:
>=20
>     [...]
>     cc -c -O2 -pipe -DRL_NO_COMPAT -fno-strict-aliasing    -I. -I.././gdb=
 -I.././gdb/config -DLOCALEDIR=3D"\"/usr/local/share/locale\"" -DHAVE_CONFI=
G_H -I.././gdb/../include/opcode  -I../bfd -I.././gdb/../bfd -I.././gdb/../=
include   -DMI_OUT=3D1 -DTUI=3D1 -I/usr/local/include -Wimplicit -Wreturn-t=
ype -Wcomment -Wtrigraphs -Wformat -Wparentheses -Wpointer-arith -Wformat-n=
onliteral -Wunused-label -Wunused-function -Wno-pointer-sign -Wuninitialize=
d  amd64fbsd-nat.c
>     amd64fbsd-nat.c: In function 'amd64fbsd_supply_pcb':
>     amd64fbsd-nat.c:128: error: 'struct pcb' has no member named 'pcb_ds'
>     amd64fbsd-nat.c:129: error: 'struct pcb' has no member named 'pcb_es'
>     amd64fbsd-nat.c:130: error: 'struct pcb' has no member named 'pcb_fs'
>     amd64fbsd-nat.c:131: error: 'struct pcb' has no member named 'pcb_gs'
>     gmake[2]: *** [amd64fbsd-nat.o] Error 1
>     gmake[2]: Leaving directory `/work/a/ports/devel/gdb6/work/gdb-6.6/gd=
b'
>     gmake[1]: *** [all-gdb] Error 2
>     gmake[1]: Leaving directory `/work/a/ports/devel/gdb6/work/gdb-6.6'
>     gmake: *** [all] Error 2
>     *** Error code 1
>      =20
>=20
> What happened? Thanks! Yours,

Place to keep curthread segment registers values was changed from MD
pcb to the struct trapframe filled on kernel entry. Required changes
were made to the struct reg that is returned by ptrace(PT_GETREGS) and
written into the core dump.

This was r190620 committed Apr 1.

--Y5rl02BVI9TCfPar
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iEYEARECAAYFAkozj24ACgkQC3+MBN1Mb4hjFQCffPFzShXB5kvsA0famIeq5EOw
BM8AnjFKK8jt9aYVP0bZ8PcJGDhlab+Q
=JDHW
-----END PGP SIGNATURE-----

--Y5rl02BVI9TCfPar--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090613113719.GC23592>