Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-11 Thread Greg Clayton via Dwarf-Discuss
ilto:desharchan...@gmail.com <mailto:desharchan...@gmail.com>>> wrote: > > > > > > > > ------ Forwarded message - > > From: *Michael Eager* mailto:ea...@eagercon.com> > > <mailto:ea...@eagercon.com <mailto:ea...@eagercon

Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-11 Thread Michael Eager via Dwarf-Discuss
> > >     -- Forwarded message - >     From: *Michael Eager* mailto:ea...@eagercon.com> <mailto:ea...@eagercon.com <mailto:ea...@eagercon.com>>> >     Date: Sat, Mar 6, 2021 at 10:53 PM >     Subject: Re: [Dwarf-Discuss] R

Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-10 Thread Archana Deshmukh via Dwarf-Discuss
an...@gmail.com>> wrote: > > > > > > > > -- Forwarded message ----- > > From: *Michael Eager* mailto:ea...@eagercon.com > >> > > Date: Sat, Mar 6, 2021 at 10:53 PM > > Subject: Re: [Dwarf-Discuss] Retrievi

Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-09 Thread Michael Eager via Dwarf-Discuss
-- From: *Michael Eager* mailto:ea...@eagercon.com>> Date: Sat, Mar 6, 2021 at 10:53 PM Subject: Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf To: Archana Deshmukh mailto:desharchan...@gmail.com>>, mailto:dwarf-discuss@lists.dwarfstd.org>>

Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-08 Thread Archana Deshmukh via Dwarf-Discuss
r 6, 2021 at 10:53 PM > Subject: Re: [Dwarf-Discuss] Retrieving variables, function address using > dwarf > To: Archana Deshmukh , < > dwarf-discuss@lists.dwarfstd.org> > > > On 3/5/21 8:28 PM, Archana Deshmukh via Dwarf-Discuss wrote: > > I need to read the addr

Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-06 Thread Michael Eager via Dwarf-Discuss
On 3/5/21 8:28 PM, Archana Deshmukh via Dwarf-Discuss wrote: I need to read the address of local variable, global variable, function name and function arguments from the process. For global variables , I read the address "55b51afea000" from /proc//maps file. I use DW_OP_addr parameter to retri

Re: [Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-05 Thread David Blaikie via Dwarf-Discuss
On Fri, Mar 5, 2021 at 8:28 PM Archana Deshmukh via Dwarf-Discuss < dwarf-discuss@lists.dwarfstd.org> wrote: > Hello, > > I need to read the address of local variable, global variable, function > name and function arguments from the process. > > For global variables , I read the address "55b51afea

[Dwarf-Discuss] Retrieving variables, function address using dwarf

2021-03-05 Thread Archana Deshmukh via Dwarf-Discuss
Hello, I need to read the address of local variable, global variable, function name and function arguments from the process. For global variables , I read the address "55b51afea000" from /proc//maps file. I use DW_OP_addr parameter to retrieve the address. 55b51afea000 + DW_OP_addr gives me the a