Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-11-10 Thread Zdenek Prikryl via lldb-dev
On 11/10/20 10:01 PM, Jonas Devlieghere wrote: On Nov 10, 2020, at 12:58 PM, Zdenek Prikryl wrote: Hi all, Just for the record, we have successfully implemented the wrapping of addr_t into a class to support multiple address spaces. The info about address space is stored in the ELF file,

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-11-10 Thread Jonas Devlieghere via lldb-dev
ou were envisioning, Jonas? >> >>> -----Original Message- >>> From: lldb-dev On Behalf Of Pavel Labath >>> via lldb-dev >>> Sent: Tuesday, October 20, 2020 12:51 PM >>> To: Jonas Devlieghere ; LLDB >> d...@lists.llvm.org> >>>

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-11-10 Thread Zdenek Prikryl via lldb-dev
ive the user the flexibility to pick how to view memory. Are these the use cases you were envisioning, Jonas? -Original Message- From: lldb-dev On Behalf Of Pavel Labath via lldb-dev Sent: Tuesday, October 20, 2020 12:51 PM To: Jonas Devlieghere ; LLDB Subject: [EXT] Re: [lldb-dev] [RFC]

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-11-02 Thread Pavel Labath via lldb-dev
On 22/10/2020 10:25, Jason Molenda wrote: Hi Greg, Pavel. I think it's worth saying that this is very early in this project. We know we're going to need the ability to track segments on addresses, but honestly a lot of the finer details aren't clear yet. It's such a fundamental change that

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-10-26 Thread Greg Clayton via lldb-dev
> On Oct 22, 2020, at 1:25 AM, Jason Molenda wrote: > > Hi Greg, Pavel. > > I think it's worth saying that this is very early in this project. We know > we're going to need the ability to track segments on addresses, but honestly > a lot of the finer details aren't clear yet. It's such a

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-10-22 Thread Jason Molenda via lldb-dev
Hi Greg, Pavel. I think it's worth saying that this is very early in this project. We know we're going to need the ability to track segments on addresses, but honestly a lot of the finer details aren't clear yet. It's such a fundamental change that we wanted to start a discussion, even

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-10-20 Thread Ted Woodward via lldb-dev
user the flexibility to pick how to view memory. Are these the use cases you were envisioning, Jonas? > -Original Message- > From: lldb-dev On Behalf Of Pavel Labath > via lldb-dev > Sent: Tuesday, October 20, 2020 12:51 PM > To: Jonas Devlieghere ; LLDB d...@lists.ll

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-10-20 Thread Pavel Labath via lldb-dev
There's a lot of things that are unclear to me about this proposal. The mechanics of representing an segmented address are one thing, but I I think that the really interesting part will be the interaction with the rest of lldb. Like - What's going to be the source of this address space

Re: [lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-10-19 Thread Greg Clayton via lldb-dev
> On Oct 19, 2020, at 2:56 PM, Jonas Devlieghere via lldb-dev > wrote: > > We want to support segmented address spaces in LLDB. Currently, all of LLDB’s > external API, command line interface, and internals assume that an address in > memory can be addressed unambiguously as an addr_t (aka

[lldb-dev] [RFC] Segmented Address Space Support in LLDB

2020-10-19 Thread Jonas Devlieghere via lldb-dev
We want to support segmented address spaces in LLDB. Currently, all of LLDB’s external API, command line interface, and internals assume that an address in memory can be addressed unambiguously as an addr_t (aka uint64_t). To support a segmented address space we’d need to extend addr_t with a