mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 10:05:29 +00:00
Fix typos in NEWS and valgrind-monitor-def.py
NEWS: who_point_at -> who_points_at valgrind-monitor-def.py: MEN -> LEN
This commit is contained in:
parent
15313a5580
commit
f83f269dd1
2
NEWS
2
NEWS
@ -26,7 +26,7 @@ AMD64/macOS 10.13 and nanoMIPS/Linux.
|
||||
to pass it to a subsequent monitor command, the GDB front end
|
||||
command will evaluate the address argument. It is for example
|
||||
possible to do:
|
||||
(gdb) memcheck who_point_at &some_struct sizeof(some_struct)
|
||||
(gdb) memcheck who_points_at &some_struct sizeof(some_struct)
|
||||
instead of:
|
||||
(gdb) p &some_struct
|
||||
$2 = (some_struct_type *) 0x1130a0 <some_struct>
|
||||
|
||||
@ -717,7 +717,7 @@ where HEUR is one of:
|
||||
@Vinit("memcheck", "who_points_at", gdb.COMMAND_DATA, gdb.COMPLETE_EXPRESSION, False)
|
||||
class Memcheck_Who_Points_At_Command(Valgrind_ADDR_LEN_opt):
|
||||
"""Show places pointing inside LEN (default 1) bytes at ADDR.
|
||||
Usage: memcheck who_points_at ADDR [MEN]
|
||||
Usage: memcheck who_points_at ADDR [LEN]
|
||||
With LEN 1, only shows "start pointers" pointing exactly to ADDR.
|
||||
With LEN > 1, will also show "interior pointers"
|
||||
ADDR is an address expression evaluated by GDB.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user