[Ltrace-devel] r37 - ltrace/trunk

Paul Gilliam pgilliam-guest at costa.debian.org
Fri Apr 7 16:32:07 UTC 2006


Author: pgilliam-guest
Date: 2006-04-07 16:32:06 +0000 (Fri, 07 Apr 2006)
New Revision: 37

Modified:
   ltrace/trunk/elf.c
Log:
Did not get type changed from opt_e_t to opt_x_t when making the -x fix.  Did
so now.


Modified: ltrace/trunk/elf.c
===================================================================
--- ltrace/trunk/elf.c	2006-03-16 00:38:47 UTC (rev 36)
+++ ltrace/trunk/elf.c	2006-04-07 16:32:06 UTC (rev 37)
@@ -402,7 +402,7 @@
 
 	if (proc->need_to_reinitialize_breakpoints) {
 		/* Add "PLTs_initialized_by_here" to opt_x list, if not already there. */
-		main_cheat = (struct opt_e_t *)malloc(sizeof(struct opt_e_t));
+		main_cheat = (struct opt_x_t *)malloc(sizeof(struct opt_x_t));
 		if (main_cheat == NULL)
 			error(EXIT_FAILURE, 0, "Couldn allocate memory");
 		main_cheat->next = opt_x;




More information about the Ltrace-devel mailing list