This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
rbreaks not working?
- From: Aleksey Midenkov <midenok at gmail dot com>
- To: "gdb at sourceware dot org" <gdb at sourceware dot org>
- Date: Fri, 9 Sep 2016 17:57:40 +0700
- Subject: rbreaks not working?
- Authentication-results: sourceware.org; auth=none
Trying to put rbreak:
(gdb) rbreak ^mach_write_.*
Function "mach_write_compressed(unsigned char*, ulint)" not defined in
"/home/midenok/src/mariadb/hagrid/src/storage/xtradb/include/mach0data.ic".
static ulint mach_write_compressed(unsigned char*, ulint);
Function "mach_write_int_type(unsigned char*, unsigned char const*,
ulint, bool)" not defined in
"/home/midenok/src/mariadb/hagrid/src/storage/xtradb/include/mach0data.ic".
static void mach_write_int_type(unsigned char*, unsigned char const*,
ulint, bool);
Function "mach_write_to_1(unsigned char*, ulint)" not defined in
"/home/midenok/src/mariadb/hagrid/src/storage/xtradb/include/mach0data.ic".
static void mach_write_to_1(unsigned char*, ulint);
...
But:
(gdb) break mach_write_compressed(unsigned char*, ulint)
Breakpoint 1 at 0xb446e3: file
/home/midenok/src/mariadb/hagrid/src/storage/xtradb/include/mach0data.ic,
line 210.
Maybe I do something wrong?