From: Mark Wielaard Date: Wed, 26 Apr 2023 19:31:13 +0000 (+0200) Subject: Fix typos in NEWS and valgrind-monitor-def.py X-Git-Tag: VALGRIND_3_21_0~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f83f269dd15d7c006ff6b1ecb562f8bd53560a5c;p=thirdparty%2Fvalgrind.git Fix typos in NEWS and valgrind-monitor-def.py NEWS: who_point_at -> who_points_at valgrind-monitor-def.py: MEN -> LEN --- diff --git a/NEWS b/NEWS index 7974f0c2e9..d9e04ab823 100644 --- a/NEWS +++ b/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 diff --git a/coregrind/m_gdbserver/valgrind-monitor-def.py b/coregrind/m_gdbserver/valgrind-monitor-def.py index da617cb850..b4e7b992dc 100644 --- a/coregrind/m_gdbserver/valgrind-monitor-def.py +++ b/coregrind/m_gdbserver/valgrind-monitor-def.py @@ -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.