[ Thread Index |
Date Index
| More lists.tuxfamily.org/pok-devel Archives
]
- To: pok-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [pok-devel] GDB+POK
- From: Laurent Lec <lec.laurent@xxxxxxxxx>
- Date: Sat, 28 Jan 2012 15:49:47 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=yLPaEotgJ8wkyjk1Bh43A9LolxSWVuDPF/JuAfJpD1g=; b=JcM4BbUOZ8urvRWGPwHbbD/miI5yPGnGOCV+Rps7p727aYOs+7B+Ef7zqLY3YwWZQq nolYJoxzvDchOI2ppkCAfE73SelKiZqEIqvr7ULppIwlLhJ8/KR9xUTXD+VoQ1KA+0xh PpWkBuDfM+1e1t6obOziqgnWaOfJdxpQCHHTc=
Hi Matias,
This is fairly easy. You just need the base address of the partition
you want to instrument. One way to do so, is to print
pok_partitions[X].base_addr using GDB.
Use this address as the last argument of add-symbol-file.
And you're all set!
--
Laurent Lec