Use gdbarch for probe::get_argument_count
[deliverable/binutils-gdb.git] / gdb / dtrace-probe.c
index 2d92edb11cd37ffab01c6e45d2b4e5c32ca611d2..e9e71fd4c9e82036dbf9464ed9393ea5580ca37c 100644 (file)
@@ -122,7 +122,7 @@ public:
   CORE_ADDR get_relocated_address (struct objfile *objfile) override;
 
   /* See probe.h.  */
-  unsigned get_argument_count (struct frame_info *frame) override;
+  unsigned get_argument_count (struct gdbarch *gdbarch) override;
 
   /* See probe.h.  */
   bool can_evaluate_arguments () const override;
@@ -693,7 +693,7 @@ dtrace_probe::get_relocated_address (struct objfile *objfile)
 /* Implementation of the get_argument_count method.  */
 
 unsigned
-dtrace_probe::get_argument_count (struct frame_info *frame)
+dtrace_probe::get_argument_count (struct gdbarch *gdbarch)
 {
   return m_args.size ();
 }
This page took 0.028804 seconds and 4 git commands to generate.