Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Dec 2016 22:16:38 +0000
From:      Ben Laurie <ben@links.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: Where is Gdb's start command?
Message-ID:  <CAG5KPzxbdF38VFCG7jPRWZ3U=O6d1Ff9Hmv4jzTfmtt2gWV9iw@mail.gmail.com>
In-Reply-To: <20161219215115.GA8918@becker.bs.l>
References:  <20161219215115.GA8918@becker.bs.l>

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

b main
r


On 19 December 2016 at 21:51, Bertram Scharpf <lists@bertram-scharpf.de> wrote:
> Hi,
>
> I do not actually want to debug something but rather write
> some Gdb examples for a tutorial. I would like the program
> to stop at the first instruction of main(). Normally I do
> this using the command "start". But on my FreeBSD this
> command doesn't seem to exist.
>
>   (gdb) n
>   The program is not being run.
>   (gdb) start
>   Undefined command: "start".  Try "help".
>   (gdb) help start
>   Undefined command: "start".  Try "help".
>
> Why isn't it defined? What should I say instead?
>
>   $ gdb -version
>   GNU gdb 6.1.1 [FreeBSD]
>   ...
>   $ uname -r
>   10.3-STABLE
>
> Thanks in advance.
>
> Bertram
>
>
> --
> Bertram Scharpf
> Stuttgart, Deutschland/Germany
> http://www.bertram-scharpf.de
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



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