Debugging bootstrap

Started by Alvaro Herreraover 23 years ago2 messages
#1Alvaro Herrera
alvherre@dcc.uchile.cl

Hello hackers,

Is there some established way of debugging the bootstrapping sequence?
If not, does anyone have a tip on how would one do it?

I mean getting the standalone boostrapping backend into gdb...

Thank you.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"La naturaleza, tan fragil, tan expuesta a la muerte... y tan viva"

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Alvaro Herrera (#1)
Re: Debugging bootstrap

Alvaro Herrera <alvherre@dcc.uchile.cl> writes:

Is there some established way of debugging the bootstrapping sequence?
If not, does anyone have a tip on how would one do it?
I mean getting the standalone boostrapping backend into gdb...

I'd just run the backend under gdb, passing it the same command line
and stdin file as initdb would provide. Don't forget to initialize
the data directory as much as initdb would do, too.

regards, tom lane