This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] tracepoint: remote_trace_set_readonly_regions:change lma to vma


On Wednesday 03 November 2010 05:39:03, Hui Zhu wrote:

> @@ -9895,10 +9895,10 @@ remote_trace_set_readonly_regions (void)
>  	continue;
> 
>        anysecs = 1;
> -      lma = s->lma;
> +      vma = s->vma;

Okay, but while you're at it, use bfd_get_section_vma instead.

> Do you think 7.2.1 need this patch too?

Yes.

-- 
Pedro Alves


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]