Matthew Gardiner wrote:

Therefore if one of our users wants to disassemble from the code bus, they'd say
(lldb) di -s 0x80000000004004f0


Actually a colleague suggested that rather than adding an offset/setting a bit, we could 
augment the address with a decorator, e.g. "c"

(lldb) di -s 0x4004f0:c

and this would denote a code bus read. This is perhaps similar to the offset 
approach, but it does give a more abstract approach to addressing, and could 
possibly fit in with Greg's previous proposal of:

ResolvedAddress {
  lldb::addr_t addr;
  lldb::segment_t segment;
};

whereupon "4004f0:c" is parsed into meaning "this address is the addr is the code 
segment/bus".

Matt




Member of the CSR plc group of companies. CSR plc registered in England and 
Wales, registered number 4187346, registered office Churchill House, Cambridge 
Business Park, Cowley Road, Cambridge, CB4 0WZ, United Kingdom
More information can be found at www.csr.com. Keep up to date with CSR on our 
technical blog, www.csr.com/blog, CSR people blog, www.csr.com/people, YouTube, 
www.youtube.com/user/CSRplc, Facebook, 
www.facebook.com/pages/CSR/191038434253534, or follow us on Twitter at 
www.twitter.com/CSR_plc.
New for 2014, you can now access the wide range of products powered by aptX at 
www.aptx.com.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to