[Ltrace-devel] [PATCH v2 8/8] mipsel: Update breakpoints when functions return

Petr Machata pmachata at redhat.com
Thu Sep 27 13:43:40 UTC 2012


edgar.iglesias at gmail.com writes:

> +/* When functions return we check if the symbol needs an updated
> +   breakpoint with the resolved address.  */
> +void arch_symbol_ret(struct Process *proc, struct library_symbol *libsym)
> +{

[...]

> +
> +	bp = malloc(sizeof (*bp));

+	if (bp == NULL) {
+		/* Error message.  */
+		goto err;
+	}

Thanks,
PM



More information about the Ltrace-devel mailing list