Re: [PATCH/RFC 02/02 v2] Refactor PRPSINFO handling on GDB

Pedro Alves
2013-01-10T18:44:03Z

The subject is a bit misleading, as this does more than
just refactoring PRPSINFO handling; it dumps more fields
as well. Splitting the refactoring and the actual
extending into separate patches, along with a short
description of what's new in the cores would have been neat,
but I'm coming back late to the party, and don't insist.

> + /* Generating and copying the program's arguments. `get_inferior_args'
> + may throw, but we want to continue the execution anyway. */
> + TRY_CATCH (ex, RETURN_MASK_ERROR)
> + {
> + infargs = get_inferior_args ();
> + }
> +

Hmm? We were not doing that before. What exception is that?

--
Pedro Alves