Skip to content

Instantly share code, notes, and snippets.

@aprieger-llnw
Last active August 10, 2017 17:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aprieger-llnw/a952754f3c2a06a5cdbb7137d7612e77 to your computer and use it in GitHub Desktop.
Save aprieger-llnw/a952754f3c2a06a5cdbb7137d7612e77 to your computer and use it in GitHub Desktop.
yacc: 15 shift/reduce conflicts, 15 reduce/reduce conflicts.
yacc: 4 rules never reduced
yacc: 5 shift/reduce conflicts.
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/arch-utils.c:48:53: warning: passing 'bfd_byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
DEPRECATED_EXTRACT_RETURN_VALUE (type, registers, buf); /* OK */
^~~
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/gdbarch.h:1441:136: note: expanded from macro 'DEPRECATED_EXTRACT_RETURN_VALUE'
...(current_gdbarch, type, regbuf, valbuf))
^~~~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/gdbarch.h:1435:118: note: passing argument to parameter 'valbuf' here
...(struct gdbarch *gdbarch, struct type *type, char *regbuf, char *valbuf);
^
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/arch-utils.c:60:40: warning: passing 'bfd_byte *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
DEPRECATED_STORE_RETURN_VALUE (type, b);
^
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/gdbarch.h:1451:116: note: expanded from macro 'DEPRECATED_STORE_RETURN_VALUE'
...(gdbarch_deprecated_store_return_value (current_gdbarch, type, valbuf))
^~~~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/gdbarch.h:1445:102: note: passing argument to parameter 'valbuf' here
...(struct gdbarch *gdbarch, struct type *type, char *valbuf);
^
2 warnings generated.
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/ax-gdb.c:716:11: warning: 20 enumeration values not handled in switch: 'TYPE_CODE_UNDEF', 'TYPE_CODE_PTR', 'TYPE_CODE_INT'... [-Wswitch]
switch (TYPE_CODE (value->type))
^
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/gdbtypes.h:785:29: note: expanded from macro 'TYPE_CODE'
#define TYPE_CODE(thistype) TYPE_MAIN_TYPE(thistype)->code
^
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/gdbtypes.h:769:34: note: expanded from macro 'TYPE_MAIN_TYPE'
#define TYPE_MAIN_TYPE(thistype) (thistype)->main_type
^
1 warning generated.
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/breakpoint.c:2650:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((b->type == bp_catch_load)
~~~~~~~~^~~~~~~~~~~~~~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/breakpoint.c:2650:18: note: remove extraneous parentheses around the comparison to silence this warning
if ((b->type == bp_catch_load)
~ ^ ~
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/breakpoint.c:2650:18: note: use '=' to turn this equality comparison into an assignment
if ((b->type == bp_catch_load)
^~
=
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/breakpoint.c:2662:18: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
if ((b->type == bp_catch_unload)
~~~~~~~~^~~~~~~~~~~~~~~~~~
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/breakpoint.c:2662:18: note: remove extraneous parentheses around the comparison to silence this warning
if ((b->type == bp_catch_unload)
~ ^ ~
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/breakpoint.c:2662:18: note: use '=' to turn this equality comparison into an assignment
if ((b->type == bp_catch_unload)
^~
=
/usr/home/aprieger/repos/freebsd_master/freebsd/contrib/gdb/gdb/breakpoint.c:5546:4: warning: expression result unused [-Wunused-value]
break_string;
^~~~~~~~~~~~
3 warnings generated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment