mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ruben Louw <lfxciii@gmail.com>
To: Juergen Beisert <jbe@pengutronix.de>
Subject: Re: [ptxdist] Ptxdist menu config -> GDBServer
Date: Thu, 3 Jan 2013 16:00:31 +0200	[thread overview]
Message-ID: <CAOP6b3j+51QsU3W_o8CPX_+3enQKgrb07WHhRC5XgiOGH10zCw@mail.gmail.com> (raw)
In-Reply-To: <CAOP6b3gWL-4xBAXc-8x90eE_1ujHY5=W_W8UgX8KVL_ZGM9k5w@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1961 bytes --]

Hi Juergen

I executed ptxdist go but I received an error, I attatched the terminal log
file. I copied from more or less where i could see the first error occured.
Not sure what its complaining about, looks like somthing in gdb itself.

any advice is appreciated, thank you.

Regrads
Ruben Louw

On Thu, Jan 3, 2013 at 2:18 PM, Ruben Louw <lfxciii@gmail.com> wrote:

> Hi Juergen
>
> you are the man! I will try it and report back.
>
> Thanks ALOT for your help.
>
> Ruben Louw
>
>
> On Thu, Jan 3, 2013 at 2:04 PM, Juergen Beisert <jbe@pengutronix.de>wrote:
>
>> Hi Ruben,
>>
>> Ruben Louw wrote:
>> > Got a question. I followed the quickstart doc for the newest bsp
>> 2012.12.0
>> > and built everything, ptxdist, toolchain and the rootfilesystem.
>> everything
>> > works great, boot via nfs etc...
>>
>> \o/
>>
>> > now i want to start developing some neat apps using qt creator. It
>> seeems i
>> > missed something, I have no gdbserver on my mini2440. Playing around
>> with
>> > ptxdist menuconfig, i saw there is a gdbserver option, i suppose this is
>> > where i enable it. the only thing thats bugging my is, do i have to re
>> > build everything now and reinstall ptxdist, or is there some short cut i
>> > can take?
>>
>> This option is project centric. Just enabled the GDB option in the menu of
>> this project and run the "ptxdist go" in the BSP directory again. After
>> that
>> everything is in place. Now it depends on your usecase how to proceed. If
>> you
>> are using NFS root and you have exported the "platform-mini2440/root"
>> directory you are done. If you are using your Mini2440's NAND you need the
>> additional "ptxdist images" step and to store the updated jffs2-image into
>> the NAND again to get gdbserver into your Mini2440.
>>
>> Regards,
>> Juergen
>>
>> --
>> Pengutronix e.K.                              | Juergen Beisert
>>   |
>> Linux Solutions for Science and Industry      |
>> http://www.pengutronix.de/  |
>>
>
>

[-- Attachment #1.2: Type: text/html, Size: 2815 bytes --]

[-- Attachment #2: Terminal Log for GDB --]
[-- Type: application/octet-stream, Size: 3162 bytes --]

/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.h:63:18: error: field 'siginfo' has incomplete typeIn file included from /home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c:32:0:
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.h:63:18: error: field 'siginfo' has incomplete type
In file included from /home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-thread-db.c:42:0:
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.h:63:18: error: field 'siginfo' has incomplete type

In file included from /home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-fork.c:31:0:
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.h:63:18: error: field 'siginfo' has incomplete type
make[3]: *** [arm-linux-nat.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [linux-fork.o] Error 1
make[3]: *** [linux-thread-db.o] Error 1
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c: In function 'siginfo_fixup':
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c:3864:40: error: invalid application of 'sizeof' to incomplete type 'struct siginfo'
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c:3866:40: error: invalid application of 'sizeof' to incomplete type 'struct siginfo'
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c: In function 'linux_xfer_siginfo':
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c:3876:18: error: storage size of 'siginfo' isn't known
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c:3877:32: error: invalid application of 'sizeof' to incomplete type 'struct siginfo'
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c: In function 'linux_nat_get_siginfo':
/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2/gdb/linux-nat.c:5667:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [linux-nat.o] Error 1
make[3]: Leaving directory `/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2-build/gdb'
make[2]: *** [all-gdb] Error 2
make[2]: Leaving directory `/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2-build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/build-target/gdb-7.2-build'
make: *** [/home/orbit/OSELAS.BSP-Pengutronix-Mini2440-2012.12.0/platform-mini2440/state/gdb.compile] Error 2


[-- Attachment #3: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2013-01-03 14:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-03 11:48 Ruben Louw
2013-01-03 12:04 ` Juergen Beisert
     [not found]   ` <CAOP6b3gWL-4xBAXc-8x90eE_1ujHY5=W_W8UgX8KVL_ZGM9k5w@mail.gmail.com>
2013-01-03 14:00     ` Ruben Louw [this message]
2013-01-03 14:38       ` Juergen Beisert
     [not found]         ` <CAOP6b3jYpUcZjmGtiYcgkaxbwArwNTNnxNo6cqJmVOBkWbKeFg@mail.gmail.com>
     [not found]           ` <201301040913.35970.jbe@pengutronix.de>
2013-01-04  8:19             ` Ruben Louw
2013-01-04  8:28               ` Juergen Beisert
2013-01-04  8:36                 ` Ruben Louw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOP6b3j+51QsU3W_o8CPX_+3enQKgrb07WHhRC5XgiOGH10zCw@mail.gmail.com \
    --to=lfxciii@gmail.com \
    --cc=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox