mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-11 14:14:23 +00:00
2010-11-04 Hui Zhu <teawater@gmail.com>
* tracepoint.c (remote_trace_set_readonly_regions): Change lma to vma.
This commit is contained in:
parent
cef4f75472
commit
608bcef267
@ -1,3 +1,7 @@
|
||||
2010-11-04 Hui Zhu <teawater@gmail.com>
|
||||
|
||||
* tracepoint.c (remote_trace_set_readonly_regions): Change lma to vma.
|
||||
|
||||
2010-11-03 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* ada-valprint.c (ada_val_print_array): Move variables `eltlen'
|
||||
|
@ -9878,7 +9878,7 @@ remote_trace_set_readonly_regions (void)
|
||||
{
|
||||
asection *s;
|
||||
bfd_size_type size;
|
||||
bfd_vma lma;
|
||||
bfd_vma vma;
|
||||
int anysecs = 0;
|
||||
|
||||
if (!exec_bfd)
|
||||
@ -9895,10 +9895,10 @@ remote_trace_set_readonly_regions (void)
|
||||
continue;
|
||||
|
||||
anysecs = 1;
|
||||
lma = s->lma;
|
||||
vma = bfd_get_section_vma (,s);
|
||||
size = bfd_get_section_size (s);
|
||||
sprintf_vma (tmp1, lma);
|
||||
sprintf_vma (tmp2, lma + size);
|
||||
sprintf_vma (tmp1, vma);
|
||||
sprintf_vma (tmp2, vma + size);
|
||||
sprintf (target_buf + strlen (target_buf),
|
||||
":%s,%s", tmp1, tmp2);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user