Re: [HACKERS] debug flag

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] debug flag
Дата
Msg-id Pine.NEB.3.95.980119171058.11989B-100000@hub.org
обсуждение исходный текст
Ответ на debug flag  (Shiby Thomas <sthomas@cise.ufl.edu>)
Список pgsql-hackers
On Mon, 19 Jan 1998, Shiby Thomas wrote:

> Hi,
>
> If I want to compile the PostgreSQL 6.2.1 code with the -g flag, which Makefile
> should I add it. I would like to run it thru a debugger. I am compiling it
> with gcc; so I should be able to use xgdb, right?

    From Makefile.global:

##############################################################################
# COPT
#
# COPT is for options that the sophisticated builder might want to vary
# from one build to the next, like options to build Postgres with
debugging
# information included.  COPT is meant to be set on the make command line,
# for example with the command "make COPT=-g".  The value you see set here
# is the default that gets used if the builder does not give a value for
# COPT on his make command.
#
#



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] debug flag
Следующее
От: Jan Vicherek
Дата:
Сообщение: locking