Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - gdb and on -P flag: (3 Items)
   
gdb and on -P flag  
How to tell the IDE/gdb that the program being debug is to be started with the  flag allowing memory access above 4G (on
 -P)
Re: gdb and on -P flag  
Ok, I had to double check about this one :-)

gdb should not really care where did you map your memory. For the 
process it's still in 32-bit address space.

What exactly is the problem you have?

---
Aleksandar


On 12-12-11 01:22 PM, Mario Charest wrote:
> How to tell the IDE/gdb that the program being debug is to be started with the  flag allowing memory access above 4G 
(on -P)
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post97991
> To cancel your subscription to this discussion, please e-mail general-toolchain-unsubscribe@community.qnx.com
>

RE: gdb and on -P flag  
> -----Message d'origine-----
> De : Aleksandar Ristovski [mailto:community-noreply@qnx.com]
> Envoyé : 11 décembre 2012 15:16
> À : general-toolchain@community.qnx.com
> Cc : Mario Charest; Mario Charest
> Objet : Re: gdb and on -P flag
> 
> Ok, I had to double check about this one :-)
> 
> gdb should not really care where did you map your memory. For the process
> it's still in 32-bit address space.
> 
> What exactly is the problem you have?

The process being debug need to allocate "normal" memory from above 4G, because there isn`t enough left below 4G ( the 
process itself requires 2.7Gig).  Normal we start it with on -P ..., but seems I can`t do that if I launch the program 
from gdb.

For now I managed by doing on -P -h .. and the connecting to the process,

> 
> ---
> Aleksandar
> 
> 
> On 12-12-11 01:22 PM, Mario Charest wrote:
> > How to tell the IDE/gdb that the program being debug is to be started
> > with the  flag allowing memory access above 4G (on -P)
> >
> >
> >
> > _______________________________________________
> >
> > General
> > http://community.qnx.com/sf/go/post97991
> > To cancel your subscription to this discussion, please e-mail
> > general-toolchain-unsubscribe@community.qnx.com
> >
> 
> 
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post97999
> To cancel your subscription to this discussion, please e-mail general-toolchain-
> unsubscribe@community.qnx.com