Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* mips-elf build fails
@ 2002-10-14 11:00 David Carlton
  2002-10-14 11:16 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: David Carlton @ 2002-10-14 11:00 UTC (permalink / raw)
  To: gdb

My all-targets build over the weekend failed on mips-elf.  I'm
including the error messages below.

This isn't on clean CVS sources, but I haven't modified infrun.c or
anything mips-elf specific on the sources that I'm using for this
build.  All the other targets work.

David Carlton
carlton@math.stanford.edu

/extra/gdb/nightly/src/gdb/infrun.c: In function `handle_inferior_event':
/extra/gdb/nightly/src/gdb/infrun.c:1995: parse error before '(' token
/extra/gdb/nightly/src/gdb/infrun.c:1995: label `remote_mips_stopped_by_watchpoint' used but not defined
/extra/gdb/nightly/src/gdb/infrun.c:1581: label `process_event_stop_test' used but not defined
/extra/gdb/nightly/src/gdb/infrun.c: At top level:
/extra/gdb/nightly/src/gdb/infrun.c:2029: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2037: parse error before '&' token
cc1: warnings being treated as errors
/extra/gdb/nightly/src/gdb/infrun.c:2038: warning: type defaults to `int' in declaration of `find_pc_partial_function'
/extra/gdb/nightly/src/gdb/infrun.c:2038: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2039: parse error before '->' token
/extra/gdb/nightly/src/gdb/infrun.c:2041: parse error before '&' token
/extra/gdb/nightly/src/gdb/infrun.c:2041: warning: type defaults to `int' in declaration of `bpstat_clear'
/extra/gdb/nightly/src/gdb/infrun.c:2041: conflicting types for `bpstat_clear'
/extra/gdb/nightly/src/gdb/breakpoint.h:319: previous declaration of `bpstat_clear'
/extra/gdb/nightly/src/gdb/infrun.c:2041: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2042: warning: type defaults to `int' in declaration of `stop_step'
/extra/gdb/nightly/src/gdb/infrun.c:2042: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2043: warning: type defaults to `int' in declaration of `stop_stack_dummy'
/extra/gdb/nightly/src/gdb/infrun.c:2043: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2044: warning: type defaults to `int' in declaration of `stop_print_frame'
/extra/gdb/nightly/src/gdb/infrun.c:2044: conflicting declarations of `stop_print_frame'
/extra/gdb/nightly/src/gdb/infrun.c:334: `stop_print_frame' previously declared here
/extra/gdb/nightly/src/gdb/infrun.c:2044: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2045: parse error before '->' token
/extra/gdb/nightly/src/gdb/infrun.c:2046: warning: type defaults to `int' in declaration of `stopped_by_random_signal'
/extra/gdb/nightly/src/gdb/infrun.c:2046: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2047: warning: type defaults to `int' in declaration of `breakpoints_failed'
/extra/gdb/nightly/src/gdb/infrun.c:2047: conflicting declarations of `breakpoints_failed'
/extra/gdb/nightly/src/gdb/infrun.c:330: `breakpoints_failed' previously declared here
/extra/gdb/nightly/src/gdb/infrun.c:2047: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2064: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2072: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2072: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2072: conflicting types for `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:1168: previous declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2072: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2073: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2119: warning: type defaults to `int' in declaration of `stop_print_frame'
/extra/gdb/nightly/src/gdb/infrun.c:2119: redefinition of `stop_print_frame'
/extra/gdb/nightly/src/gdb/infrun.c:2044: `stop_print_frame' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2119: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2120: parse error before '}' token
/extra/gdb/nightly/src/gdb/infrun.c:2175: warning: type defaults to `int' in declaration of `stop_signal'
/extra/gdb/nightly/src/gdb/infrun.c:2175: conflicting types for `stop_signal'
/extra/gdb/nightly/src/gdb/inferior.h:330: previous declaration of `stop_signal'
/extra/gdb/nightly/src/gdb/infrun.c:2175: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2176: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2176: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2176: conflicting types for `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:1170: previous declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2176: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2177: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2185: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2185: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2185: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2186: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2195: warning: type defaults to `int' in declaration of `stop_signal'
/extra/gdb/nightly/src/gdb/infrun.c:2195: redefinition of `stop_signal'
/extra/gdb/nightly/src/gdb/infrun.c:2175: `stop_signal' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2195: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2196: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2196: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2196: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2197: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2209: warning: type defaults to `int' in declaration of `stopped_by_random_signal'
/extra/gdb/nightly/src/gdb/infrun.c:2209: redefinition of `stopped_by_random_signal'
/extra/gdb/nightly/src/gdb/infrun.c:2046: `stopped_by_random_signal' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2209: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2211: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2214: parse error before '.' token
/extra/gdb/nightly/src/gdb/infrun.c:2215: warning: type defaults to `int' in declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2215: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2215: conflicting types for `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:1172: previous declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2215: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2216: parse error before '}' token
/extra/gdb/nightly/src/gdb/infrun.c:2263: warning: type defaults to `int' in declaration of `check_sigtramp2'
/extra/gdb/nightly/src/gdb/infrun.c:2263: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2263: conflicting types for `check_sigtramp2'
/extra/gdb/nightly/src/gdb/infrun.c:1165: previous declaration of `check_sigtramp2'
/extra/gdb/nightly/src/gdb/infrun.c:2263: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2264: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2264: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2264: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2265: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2273: warning: type defaults to `int' in declaration of `what'
/extra/gdb/nightly/src/gdb/infrun.c:2273: conflicting types for `what'
/extra/gdb/nightly/src/gdb/infrun.c:2271: previous declaration of `what'
/extra/gdb/nightly/src/gdb/infrun.c:2273: incompatible types in initialization
/extra/gdb/nightly/src/gdb/infrun.c:2273: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2273: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2275: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2290: warning: type defaults to `int' in declaration of `remove_breakpoints'
/extra/gdb/nightly/src/gdb/infrun.c:2290: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2291: warning: type defaults to `int' in declaration of `breakpoints_inserted'
/extra/gdb/nightly/src/gdb/infrun.c:2291: conflicting declarations of `breakpoints_inserted'
/extra/gdb/nightly/src/gdb/infrun.c:280: `breakpoints_inserted' previously declared here
/extra/gdb/nightly/src/gdb/infrun.c:2291: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2292: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2309: warning: type defaults to `int' in declaration of `through_sigtramp_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2309: conflicting types for `through_sigtramp_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:337: previous declaration of `through_sigtramp_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2309: warning: initialization makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:2309: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2310: parse error before '}' token
/extra/gdb/nightly/src/gdb/infrun.c:2318: parse error before '(' token
/extra/gdb/nightly/src/gdb/infrun.c:2320: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2320: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2320: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2321: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2326: warning: type defaults to `int' in declaration of `breakpoints_inserted'
/extra/gdb/nightly/src/gdb/infrun.c:2326: redefinition of `breakpoints_inserted'
/extra/gdb/nightly/src/gdb/infrun.c:2291: `breakpoints_inserted' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2326: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2338: warning: type defaults to `int' in declaration of `disable_longjmp_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2338: conflicting types for `disable_longjmp_breakpoint'
/extra/gdb/nightly/src/gdb/breakpoint.h:614: previous declaration of `disable_longjmp_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2338: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2339: parse error before '->' token
/extra/gdb/nightly/src/gdb/infrun.c:2349: warning: type defaults to `int' in declaration of `breakpoints_inserted'
/extra/gdb/nightly/src/gdb/infrun.c:2349: redefinition of `breakpoints_inserted'
/extra/gdb/nightly/src/gdb/infrun.c:2326: `breakpoints_inserted' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2349: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2350: parse error before '->' token
/extra/gdb/nightly/src/gdb/infrun.c:2362: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2362: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2362: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2363: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2372: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2372: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2372: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2373: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2398: parse error before '&' token
/extra/gdb/nightly/src/gdb/infrun.c:2398: warning: type defaults to `int' in declaration of `delete_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2398: conflicting types for `delete_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/gdbthread.h:85: previous declaration of `delete_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2398: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2404: warning: type defaults to `int' in declaration of `through_sigtramp_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2404: redefinition of `through_sigtramp_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2309: `through_sigtramp_breakpoint' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2404: warning: initialization makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:2404: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2408: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2521: parse error before '&' token
/extra/gdb/nightly/src/gdb/infrun.c:2521: warning: type defaults to `int' in declaration of `bpstat_clear'
/extra/gdb/nightly/src/gdb/infrun.c:2521: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2522: warning: type defaults to `int' in declaration of `stop_bpstat'
/extra/gdb/nightly/src/gdb/infrun.c:2522: conflicting types for `stop_bpstat'
/extra/gdb/nightly/src/gdb/inferior.h:338: previous declaration of `stop_bpstat'
/extra/gdb/nightly/src/gdb/infrun.c:2522: `ecs' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2522: warning: initialization makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:2522: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2522: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2523: parse error before '&' token
/extra/gdb/nightly/src/gdb/infrun.c:2523: warning: type defaults to `int' in declaration of `bpstat_clear'
/extra/gdb/nightly/src/gdb/infrun.c:2523: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2524: warning: type defaults to `int' in declaration of `stop_print_frame'
/extra/gdb/nightly/src/gdb/infrun.c:2524: redefinition of `stop_print_frame'
/extra/gdb/nightly/src/gdb/infrun.c:2119: `stop_print_frame' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2524: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2525: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2525: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2525: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2526: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2545: warning: type defaults to `int' in declaration of `stop_stack_dummy'
/extra/gdb/nightly/src/gdb/infrun.c:2545: redefinition of `stop_stack_dummy'
/extra/gdb/nightly/src/gdb/infrun.c:2043: `stop_stack_dummy' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2545: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2549: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2549: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2549: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2550: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2562: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2562: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2562: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2563: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2572: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2572: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2572: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2573: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2586: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2586: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2586: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2587: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2607: parse error before '.' token
/extra/gdb/nightly/src/gdb/infrun.c:2609: warning: type defaults to `int' in declaration of `check_for_old_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2609: conflicting types for `check_for_old_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:1323: previous declaration of `check_for_old_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2609: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2610: warning: type defaults to `int' in declaration of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2610: conflicting types for `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:336: previous declaration of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2611: `sr_sal' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2611: warning: initialization makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:2611: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2611: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2612: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2616: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2616: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2616: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2617: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2660: parse error before '.' token
/extra/gdb/nightly/src/gdb/infrun.c:2666: warning: type defaults to `int' in declaration of `check_for_old_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2666: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2667: warning: type defaults to `int' in declaration of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2667: redefinition of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2610: `step_resume_breakpoint' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2668: `sr_sal' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2668: warning: initialization makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:2668: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2668: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2669: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2690: warning: type defaults to `int' in declaration of `step_range_start'
/extra/gdb/nightly/src/gdb/infrun.c:2690: conflicting types for `step_range_start'
/extra/gdb/nightly/src/gdb/inferior.h:367: previous declaration of `step_range_start'
/extra/gdb/nightly/src/gdb/infrun.c:2690: `ecs' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2690: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2691: warning: type defaults to `int' in declaration of `step_range_end'
/extra/gdb/nightly/src/gdb/infrun.c:2691: conflicting types for `step_range_end'
/extra/gdb/nightly/src/gdb/inferior.h:368: previous declaration of `step_range_end'
/extra/gdb/nightly/src/gdb/infrun.c:2691: `ecs' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2691: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2692: parse error before '->' token
/extra/gdb/nightly/src/gdb/infrun.c:2706: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2706: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2706: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2707: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2729: parse error before numeric constant
/extra/gdb/nightly/src/gdb/infrun.c:2729: warning: type defaults to `int' in declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2729: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2730: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2730: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2730: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2731: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2751: warning: type defaults to `int' in declaration of `step_over_function'
/extra/gdb/nightly/src/gdb/infrun.c:2751: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2751: conflicting types for `step_over_function'
/extra/gdb/nightly/src/gdb/infrun.c:1167: previous declaration of `step_over_function'
/extra/gdb/nightly/src/gdb/infrun.c:2751: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2752: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2752: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2752: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2753: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2761: warning: type defaults to `int' in declaration of `tmp'
/extra/gdb/nightly/src/gdb/infrun.c:2761: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2761: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2762: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2773: parse error before '.' token
/extra/gdb/nightly/src/gdb/infrun.c:2775: warning: type defaults to `int' in declaration of `check_for_old_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2775: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2776: warning: type defaults to `int' in declaration of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2776: redefinition of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2667: `step_resume_breakpoint' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2777: `xxx' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2777: warning: initialization makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:2777: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2777: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2778: warning: type defaults to `int' in declaration of `insert_breakpoints'
/extra/gdb/nightly/src/gdb/infrun.c:2778: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2779: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2779: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2779: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2780: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2793: warning: type defaults to `int' in declaration of `tmp_sal'
/extra/gdb/nightly/src/gdb/infrun.c:2793: `ecs' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2793: incompatible types in initialization
/extra/gdb/nightly/src/gdb/infrun.c:2793: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2793: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2794: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2807: parse error before numeric constant
/extra/gdb/nightly/src/gdb/infrun.c:2807: warning: type defaults to `int' in declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2807: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2808: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2808: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2808: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2809: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2812: warning: type defaults to `int' in declaration of `step_over_function'
/extra/gdb/nightly/src/gdb/infrun.c:2812: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2812: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2813: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2813: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2813: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2814: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2827: parse error before numeric constant
/extra/gdb/nightly/src/gdb/infrun.c:2827: warning: type defaults to `int' in declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2827: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2828: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2828: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2828: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2829: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2839: warning: type defaults to `int' in declaration of `tmp'
/extra/gdb/nightly/src/gdb/infrun.c:2839: redefinition of `tmp'
/extra/gdb/nightly/src/gdb/infrun.c:2761: `tmp' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2839: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2839: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2842: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2848: parse error before '.' token
/extra/gdb/nightly/src/gdb/infrun.c:2853: warning: type defaults to `int' in declaration of `check_for_old_step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2853: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2854: warning: type defaults to `int' in declaration of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2854: redefinition of `step_resume_breakpoint'
/extra/gdb/nightly/src/gdb/infrun.c:2776: `step_resume_breakpoint' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2855: `sr_sal' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2855: warning: initialization makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:2855: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2855: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2856: parse error before "if"
/extra/gdb/nightly/src/gdb/infrun.c:2861: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2861: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2861: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2862: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2873: parse error before numeric constant
/extra/gdb/nightly/src/gdb/infrun.c:2873: warning: type defaults to `int' in declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2873: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2874: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2874: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2874: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2875: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2887: parse error before numeric constant
/extra/gdb/nightly/src/gdb/infrun.c:2887: warning: type defaults to `int' in declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2887: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2888: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2888: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2888: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2889: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2907: parse error before numeric constant
/extra/gdb/nightly/src/gdb/infrun.c:2907: warning: type defaults to `int' in declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2907: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2908: warning: type defaults to `int' in declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2908: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2908: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2909: parse error before "return"
/extra/gdb/nightly/src/gdb/infrun.c:2911: warning: type defaults to `int' in declaration of `step_range_start'
/extra/gdb/nightly/src/gdb/infrun.c:2911: redefinition of `step_range_start'
/extra/gdb/nightly/src/gdb/infrun.c:2690: `step_range_start' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2911: `ecs' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2911: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2912: warning: type defaults to `int' in declaration of `step_range_end'
/extra/gdb/nightly/src/gdb/infrun.c:2912: redefinition of `step_range_end'
/extra/gdb/nightly/src/gdb/infrun.c:2691: `step_range_end' previously defined here
/extra/gdb/nightly/src/gdb/infrun.c:2912: `ecs' undeclared here (not in a function)
/extra/gdb/nightly/src/gdb/infrun.c:2912: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2913: warning: type defaults to `int' in declaration of `step_frame_address'
/extra/gdb/nightly/src/gdb/infrun.c:2913: conflicting types for `step_frame_address'
/extra/gdb/nightly/src/gdb/inferior.h:374: previous declaration of `step_frame_address'
/extra/gdb/nightly/src/gdb/infrun.c:2913: initializer element is not constant
/extra/gdb/nightly/src/gdb/infrun.c:2913: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2914: parse error before '->' token
/extra/gdb/nightly/src/gdb/infrun.c:2926: warning: type defaults to `int' in declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2926: warning: parameter names (without types) in function declaration
/extra/gdb/nightly/src/gdb/infrun.c:2926: warning: data definition has no type or storage class
/extra/gdb/nightly/src/gdb/infrun.c:2927: parse error before '}' token
/extra/gdb/nightly/src/gdb/infrun.c: In function `currently_stepping':
/extra/gdb/nightly/src/gdb/infrun.c:2935: warning: comparison between pointer and integer
/extra/gdb/nightly/src/gdb/infrun.c:2936: warning: comparison between pointer and integer
/extra/gdb/nightly/src/gdb/infrun.c: At top level:
/extra/gdb/nightly/src/gdb/infrun.c:2944: conflicting types for `check_sigtramp2'
/extra/gdb/nightly/src/gdb/infrun.c:2263: previous declaration of `check_sigtramp2'
/extra/gdb/nightly/src/gdb/infrun.c: In function `check_sigtramp2':
/extra/gdb/nightly/src/gdb/infrun.c:2969: warning: assignment makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c: In function `step_into_function':
/extra/gdb/nightly/src/gdb/infrun.c:3027: warning: assignment makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c: At top level:
/extra/gdb/nightly/src/gdb/infrun.c:3051: conflicting types for `step_over_function'
/extra/gdb/nightly/src/gdb/infrun.c:2812: previous declaration of `step_over_function'
/extra/gdb/nightly/src/gdb/infrun.c: In function `step_over_function':
/extra/gdb/nightly/src/gdb/infrun.c:3060: warning: assignment makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:3063: invalid type argument of `->'
/extra/gdb/nightly/src/gdb/infrun.c: At top level:
/extra/gdb/nightly/src/gdb/infrun.c:3071: conflicting types for `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:2908: previous declaration of `stop_stepping'
/extra/gdb/nightly/src/gdb/infrun.c:3116: conflicting types for `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c:2926: previous declaration of `keep_going'
/extra/gdb/nightly/src/gdb/infrun.c: In function `keep_going':
/extra/gdb/nightly/src/gdb/infrun.c:3166: warning: comparison between pointer and integer
/extra/gdb/nightly/src/gdb/infrun.c:3167: warning: comparison between pointer and integer
/extra/gdb/nightly/src/gdb/infrun.c:3174: warning: comparison between pointer and integer
/extra/gdb/nightly/src/gdb/infrun.c: At top level:
/extra/gdb/nightly/src/gdb/infrun.c:3254: conflicting types for `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c:2907: previous declaration of `print_stop_reason'
/extra/gdb/nightly/src/gdb/infrun.c: In function `normal_stop':
/extra/gdb/nightly/src/gdb/infrun.c:3385: warning: passing arg 1 of `breakpoint_auto_delete' makes pointer from integer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:3433: warning: passing arg 1 of `bpstat_print' makes pointer from integer without a cast
/extra/gdb/nightly/src/gdb/infrun.c: In function `save_inferior_status':
/extra/gdb/nightly/src/gdb/infrun.c:3931: warning: assignment makes pointer from integer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:3932: warning: passing arg 1 of `bpstat_copy' makes pointer from integer without a cast
/extra/gdb/nightly/src/gdb/infrun.c:3932: warning: assignment makes integer from pointer without a cast
/extra/gdb/nightly/src/gdb/infrun.c: In function `restore_inferior_status':
/extra/gdb/nightly/src/gdb/infrun.c:3982: warning: assignment makes integer from pointer without a cast


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mips-elf build fails
  2002-10-14 11:00 mips-elf build fails David Carlton
@ 2002-10-14 11:16 ` Daniel Jacobowitz
  2002-10-14 11:24   ` David Carlton
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Jacobowitz @ 2002-10-14 11:16 UTC (permalink / raw)
  To: gdb

On Mon, Oct 14, 2002 at 11:00:12AM -0700, David Carlton wrote:
> My all-targets build over the weekend failed on mips-elf.  I'm
> including the error messages below.
> 
> This isn't on clean CVS sources, but I haven't modified infrun.c or
> anything mips-elf specific on the sources that I'm using for this
> build.  All the other targets work.

That's STOPPED_BY_WATCHPOINT.  The definition hasn't changed in
months....

-- 
Daniel Jacobowitz
MontaVista Software                         Debian GNU/Linux Developer


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: mips-elf build fails
  2002-10-14 11:16 ` Daniel Jacobowitz
@ 2002-10-14 11:24   ` David Carlton
       [not found]     ` <20021014204759.GA10876@nevyn.them.org>
  0 siblings, 1 reply; 4+ messages in thread
From: David Carlton @ 2002-10-14 11:24 UTC (permalink / raw)
  To: Daniel Jacobowitz; +Cc: gdb, Marko Mlinar

On Mon, 14 Oct 2002 14:16:51 -0400, Daniel Jacobowitz <drow@mvista.com> said:
> On Mon, Oct 14, 2002 at 11:00:12AM -0700, David Carlton wrote:

>> My all-targets build over the weekend failed on mips-elf.  I'm
>> including the error messages below.

>> This isn't on clean CVS sources, but I haven't modified infrun.c or
>> anything mips-elf specific on the sources that I'm using for this
>> build.  All the other targets work.

> That's STOPPED_BY_WATCHPOINT.  The definition hasn't changed in
> months....

Well, to be specific, the line is

  if (HAVE_NONSTEPPABLE_WATCHPOINT && STOPPED_BY_WATCHPOINT (ecs->ws))

So it seems reasonable to assume that it's some sort of interation
between mips-elf and these patches:

2002-10-10  Marko Mlinar  <markom@opencores.org>

	* infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C,
	accidentially not commited 2002-10-09
	* gdbarch.h, gdbarch.c: Re-generate.

2002-10-09  Marko Mlinar  <markom@opencores.org>

	* infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C.
	* gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Add.
	* gdbarch.h, gdbarch.c: Re-generate.

In other words, I think it's HAVE_NONSTEPPABLE_WATCHPOINT rather than
STOPPED_BY_WATCHPOINT that's the problem.

David Carlton
carlton@math.stanford.edu


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: PATCH for Re: mips-elf build fails
       [not found]     ` <20021014204759.GA10876@nevyn.them.org>
@ 2002-10-15  3:40       ` Marko Mlinar
  0 siblings, 0 replies; 4+ messages in thread
From: Marko Mlinar @ 2002-10-15  3:40 UTC (permalink / raw)
  To: Daniel Jacobowitz, David Carlton; +Cc: gdb

> > Well, to be specific, the line is
> >
> >   if (HAVE_NONSTEPPABLE_WATCHPOINT && STOPPED_BY_WATCHPOINT (ecs->ws))
> >
> > So it seems reasonable to assume that it's some sort of interation
> > between mips-elf and these patches:
> >
> > 2002-10-10  Marko Mlinar  <markom@opencores.org>
> >
> > 	* infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C,
> > 	accidentially not commited 2002-10-09
> > 	* gdbarch.h, gdbarch.c: Re-generate.
> >
> > 2002-10-09  Marko Mlinar  <markom@opencores.org>
> >
> > 	* infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C.
> > 	* gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Add.
> > 	* gdbarch.h, gdbarch.c: Re-generate.
> >
> > In other words, I think it's HAVE_NONSTEPPABLE_WATCHPOINT rather than
> > STOPPED_BY_WATCHPOINT that's the problem.
>
> You're right.
>
> Marko, when you do something like this it is vital that you check
> existing definitions of the macro.  It's defined to an empty string in
> a number of header files, which is fine for #ifdef.  I've check this in
> to fix the build failures.

thanks for fixing it.

I have quite some TODO list with these kind of changes in order to put our 
target in. Since I do not want to cause more trouble I would like to ask 
somebody to help me with the global changes. Apparently you will have less 
work this way anyway :)

The next step should be:

-----
>> > #define STEP_SKIPS_DELAY_P (1)
>> > #define STEP_SKIPS_DELAY(pc) (or1k_step_skips_delay (pc))
> 
> what needs to be defined instead?

They need to be added to gdbarch.{sh,h,c}.  That's a separate change. 
See my post.  For this, look at one of the ``F:'' (predicate) methods - 
DO_REGISTERS_INFO.
-----

Any volounteers? :)

Marko


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-15 10:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-14 11:00 mips-elf build fails David Carlton
2002-10-14 11:16 ` Daniel Jacobowitz
2002-10-14 11:24   ` David Carlton
     [not found]     ` <20021014204759.GA10876@nevyn.them.org>
2002-10-15  3:40       ` PATCH for " Marko Mlinar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox