Use malloc/free in the dbgapi callbacks
[deliverable/binutils-gdb.git] / gdb / rocm-tdep.c
index 55b4c79d4500cc59162460431e89a4278a27116d..da98d7c08f64d40b3669e5ffcfcd6505767e261d 100644 (file)
@@ -1236,10 +1236,10 @@ static cli_style_option verbose_style ("rocm_verbose", ui_file_style::BLUE);
 
 static amd_dbgapi_callbacks_t dbgapi_callbacks = {
   /* allocate_memory.  */
-  .allocate_memory = xmalloc,
+  .allocate_memory = malloc,
 
   /* deallocate_memory.  */
-  .deallocate_memory = xfree,
+  .deallocate_memory = free,
 
   /* get_os_pid.  */
   .get_os_pid = [] (amd_dbgapi_client_process_id_t client_process_id,
This page took 0.024025 seconds and 4 git commands to generate.