This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch v7 21/24] record-btrace: extend unwinder


On Fri, 29 Nov 2013 15:38:16 +0100, Markus Metzger wrote:
> --- a/gdb/frame.c
> +++ b/gdb/frame.c
> @@ -335,6 +335,11 @@ fprint_frame_type (struct ui_file *file, enum frame_type type)
>        return;
>      case SENTINEL_FRAME:
>        fprintf_unfiltered (file, "SENTINEL_FRAME");

Missing 'return;'.


> +    case BTRACE_FRAME:
> +      fprintf_unfiltered (file, "BTRACE_FRAME");
> +      return;
> +    case BTRACE_TAILCALL_FRAME:
> +      fprintf_unfiltered (file, "BTRACE_TAILCALL_FRAME");
>        return;
>      default:
>        fprintf_unfiltered (file, "<unknown type>");


Thanks,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]