Lines Matching defs:is

7    This file is part of GDB.
9 This program is free software; you can redistribute it and/or modify
14 This program is distributed in the hope that it will be useful,
215 if such is available. */
276 reinitialized -- e.g. when program is re-run. */
283 This function must be used only when SOLIB_HAVE_LOAD_EVENT is TRUE,
288 invalid as soon as the inferior is continued. Clients should make
300 This function must be used only when SOLIB_HAVE_UNLOAD_EVENT is
305 invalid as soon as the inferior is continued. Clients should make
313 /* This function is called by the "catch load" command. It allows the
315 library file (or any library file, if filename is NULL) is loaded. */
322 /* This function is called by the "catch unload" command. It allows
324 library file (or any library file, if filename is NULL) is
332 /* Return whether a breakpoint is an active enabled breakpoint. */
362 if default_breakpoint_valid is zero, the other three are
363 not valid, and "break" with no arg is an error.
373 /* *PP is a string denoting a breakpoint. Get the number of the breakpoint.
380 TRAILER is a character which can be found after the number; most
381 commonly this is `-'. If you don't want a trailer, use \0. */
420 /* There is no number here. (e.g. "cond a == b"). */
458 * While processing a range, this fuction is called iteratively;
464 * is completed. The call that completes the range will advance
477 /* Default case: pp is pointing either to a solo number,
484 /* This is the start of a range (<number1> - <number2>).
516 is reached. */
569 /* I don't know if it matters whether this is the string the user
611 char *tmpbuf = xstrprintf ("Type commands for when breakpoint %d is hit, one per line.",
630 Returns zero if successful, errno value if not. EIO is used
670 /* The breakpoint is entirely before the chunk of memory we
674 /* The breakpoint is entirely after the chunk of memory we are
763 the next time the watchpoint is inserted. */
772 /* Insert a low-level "breakpoint" of some type. BPT is the breakpoint.
813 /* This breakpoint is in an overlay section.
817 /* Yes -- overlay event support is not active,
838 /* Yes. This overlay section is mapped into memory. */
916 must watch. As soon as a many-to-one mapping is available I'll
931 /* Determine if the watchpoint is within scope. */
1020 printf_filtered ("in which its expression is valid.\n");
1111 /* insert_breakpoints is used when starting or continuing the program.
1112 remove_breakpoints is used when the program stops.
1256 shadow is NOT valid after an exec()! */
1301 on this target, we may not be able to stop when the vfork is
1302 seen, but only when the subsequent exec is seen. (And because
1307 target address field, if any, is sufficient to have it be reset
1310 Jim Blandy <jimb@redhat.com>: Actually, zero is a perfectly
1314 I can't see what that comment above is talking about. As far
1317 is meaningless, since those are implemented with HP-UX kernel
1327 /* bp_finish is a special case. The only way we ought to be able
1328 to see one of these when an exec() has happened, is if the user
1344 problem, what we'll do here is just uninsert the bp_finish, and
1347 (We know the bp_finish is "doomed" in the sense that it's
1350 address is probably bogus in the new a.out, unlike e.g., the
1372 for bp_catch_exec and friends, I'm pretty sure this is entirely
1411 remove_breakpoint (struct bp_location *b, insertion_state_t is)
1445 /* This breakpoint is in an overlay section.
1449 /* Yes -- overlay event support is not active, so we
1454 /* Ignore any failures: if the LMA is in ROM, we will
1484 b->inserted = (is == mark_inserted);
1493 b->inserted = (is == mark_inserted);
1527 if ((is == mark_uninserted) && (b->inserted))
1555 b->inserted = (is == mark_inserted);
1566 b->inserted = (is == mark_inserted);
1578 b->inserted = (is == mark_inserted);
1624 /* If the call dummy breakpoint is at the entry point it will
1625 cause problems when the inferior is rerun, so we better
1698 && bpt->address == pc) /* bp is enabled and matches pc */
1715 /* breakpoint_inserted_here_p (PC) is just like breakpoint_here_p(),
1716 but it only returns true if there is actually a breakpoint inserted
1731 && bpt->address == pc) /* bp is inserted and matches pc */
1745 /* This function returns non-zero iff there is a software breakpoint
1762 && bpt->address == pc) /* bp is enabled and matches pc */
1777 PC is valid for process/thread PTID. */
1847 Also free any storage that is part of a bpstat. */
1871 is part of the bpstat is copied as well. */
1893 /* This is the first thing in the chain. */
1923 It is an error to use this function if BPSTAT doesn't contain a
1951 at. *BSP upon return is a bpstat which points to the remaining
1952 breakpoints stopped at (but which is not guaranteed to be good for
2008 /* Avoid endless recursion if a `source' command is contained
2062 /* The inferior is proceeded by the command; bomb out now.
2064 But since execution has stopped again, there is a new bpstat
2071 /* This is the normal print function for a bpstat. In the future,
2075 Current scheme: When we stop, bpstat_print() is called. It loops
2385 /* Print a message indicating what happened. This is called from
2386 normal_stop(). The input to this routine is the head of the bpstat
2391 routine is one of:
2395 code to print the location. An example is
2398 PRINT_SRC_ONLY: Means we printed something, but there is no need
2400 An example is the catch/throw messages, which
2412 That probably could (should) be changed, provided care is taken
2428 /* Evaluate the expression EXP and return 1 if value is zero.
2429 This is used inside a catch_errors to evaluate the breakpoint condition.
2430 The argument is a "struct expression *" that has been cast to char * to
2452 /* If the condition is false, etc., don't do the commands. */
2488 /* There is no current frame at this moment. If we're going to have
2502 because the current PC is currently in an epilogue. Calling
2544 we reenter the block in which it is valid it contains
2559 which its expression is valid.\n");
2570 BP_ADDR in thread PTID. STOPPED_BY_WATCHPOINT is 1 if the
2575 don't understand this stop. Result is a chain of bpstat's such that:
2577 if we don't understand the stop, the result is a null pointer.
2579 if we understand why we stopped, the result is not null.
2712 /* Actually this is superfluous, because by the time we
2766 /* Exact match not required. Within range is
2793 the value has changed. This is for targets
2820 /* This is a case where some watchpoint(s) triggered,
2831 /* By definition, an encountered breakpoint is a triggered
2958 /* This is just used to count how many enums there are. */
2962 /* Here is the table which drives this routine. So that we can
2978 abort() is not out of the question, but chances are GDB is just
2983 /* One interesting property of this table is that wp_silent is the same
2984 as bp_silent and wp_noisy is the same as bp_noisy. That is because
2986 (BPSTAT_WHAT_SINGLE type stuff) is handled in proceed() without
2990 Another possibly interesting property of this table is that
2992 you've decided that some action is appropriate, you'll never go
2993 back and decide something of a lower priority is better. The
2994 ordering is:
3008 What I think this means is that we don't need a damned table
3014 is messy anyway). */
3020 one of those and a step_resume_breakpoint is probably very rare (?). */
3124 /* It is for the wrong frame. */
3178 /* Make sure the action is stop (silent or noisy),
3380 /* Field 4, the address, is omitted (which makes the columns
3382 is relatively readable). */
3392 /* Field 4, the address, is omitted (which makes the columns
3394 is relatively readable). */
3413 /* Field 4, the address, is omitted (which makes the columns
3415 is relatively readable). */
3427 /* Field 4, the address, is omitted (which makes the columns
3429 is relatively readable). */
3442 /* Field 4, the address, is omitted (which makes the columns
3444 is relatively readable). */
3453 /* Field 4, the address, is omitted (which makes the columns
3455 is relatively readable). */
3573 /* Output the count also if it is zero, but only if this is
3633 /* Return non-zero if B is user settable (breakpoints, watchpoints,
3655 number BNUM. If BNUM is -1 print all user settable breakpoints.
3656 If ALLFLAG is non-zero, include non- user settable breakpoints. */
3720 allflag is set. */
3738 that a comparison of an unsigned with -1 is always false. */
3743 /* FIXME? Should this be moved up so that it is only called when
3822 /* Return true iff it is meaningful to use the address member of
3823 BPT. For some breakpoint types, the address member is irrelevant
3858 This is so that the bpt instruction is only inserted once.
3904 "allegedly permanent breakpoint is not "
3948 this function is simply the identity function. */
3981 is required. */
4054 /* set_raw_breakpoint() is a low level routine for allocating and
4058 initialized breakpoint is added to the breakpoint chain and
4059 is also returned as the value of this function.
4061 It is expected that the caller will complete the initialization of
4315 is now loaded. */
4454 is still not mapped in. */
4731 Restrict it to frame FRAME if FRAME is nonzero. */
4766 /* FIXME: This is misplaced; mention() is called by things (like
4906 The parameter PENDING_BP points to a pending breakpoint that is
4911 NOTE: If the function succeeds, the caller is expected to cleanup
4913 array contents). If the function fails (error() is called), the
4914 caller is expected to cleanups both the ADDR_STRING, COND_STRING,
4991 /* Parse ARG which is assumed to be a SAL specification possibly
5004 /* If no arg given, or if first arg is 'if ', use the default
5028 current_source_symtab (which is decode_line_1's default). This
5082 minimal symbol for the "foo", but it's address is invalid.
5084 when the inferior is run.)
5116 PENDING_BP is non-NULL when this function is being called to resolve
5156 /* If caller is interested in rc value from parse, set value. */
5170 /* If pending breakpoint support is turned off, throw error. */
5175 /* If pending breakpoint support is auto query and the user selects
5183 behavior is on and thus a pending breakpoint is defaulted
5219 Anything added to the cleanup chain beyond this point is assumed
5221 then the memory is not reclaimed. */
5379 /* Always have a addr_string array, even if it is empty. */
5394 Anything added to the cleanup chain beyond this point is assumed
5396 through then that memory is not cleaned up. */
5660 /* It really is worthwhile to have the section, so we'll just
5737 /* look for a ':'. If this is a line number specification, then
5738 say it is bad, otherwise, it should be an address or
5770 /* look for a ':'. If there is a '::' then get out, otherwise
5771 it is probably a line number. */
5922 /* If the expression is "local", then set up a "watchpoint scope"
5948 /* The scope breakpoint is related to the watchpoint. We
5981 The idea here is that evaluating an expression generates a series
6000 /* A lazy memory lvalue is one that GDB never needed to fetch;
6079 /* This function is called by fetch_inferior_event via the
6146 where we get a chance to do that is in fetch_inferior_event, so
6151 /* In this case the arg for the continuation is just the point
6153 cleanups, because all the continuation does is the cleanups in
6179 of if we are, but the target is still synchronous. */
6195 possible match is found, a pointer to the last character of
6196 the token is returned. Else, NULL is returned. */
6224 from the arg string. If one is not found, it returns NULL.
6254 string. If one is not found, it returns NULL.
6257 makes no attempt to verify that a file of that name exists, or is
6306 /* The allowed syntax is:
6339 /* The allowed syntax is:
6362 /* The allowed syntax is:
6368 The user is not allowed to specify the <filename> after an
6404 /* The allowed syntax is:
6410 The user is not allowed to specify the <filename> after an
6617 return 1; /*is valid */
6626 then attempt to interpret it as an exception name. (This latter is
6639 /* Now, this is not allowed */
6715 /* Now this is not allowed */
6785 behavior that from_tty is forced true if we delete more than
6816 /* Not if b is a watchpoint of any sort... */
6831 /* b is at the head of the list */
6878 This is called after any breakpoint is hit, or after errors. */
6914 One example of this happening is a watchpoint's scope bp. When the
6915 scope bp triggers, we notice that the watchpoint is out of scope, and
6916 delete it. We also delete its scope bp. But the scope bp is marked
6917 "auto-deleting", and is already on a bpstat. That bpstat is then
6979 /* If this breakpoint was inserted, and there is another breakpoint
7000 /* We should never reach this point if there is a permanent
7002 If there is a permanent breakpoint somewhere, it should
7182 ``And a hack it is, although Apple's Darwin version of GDB
7185 but it is easy to come up with a test case where the patch
7193 Fixing this is not trivial. Therefore, I'm not sure whether
7212 see an error message if it is not found since we will expect
7213 this to occur until the shared library is finally reloaded.
7215 for silent notification that the symbol is not found. */
7284 /* Now that this is re-enabled, check_duplicates
7300 functionname, but if the context is more local than that, the
7348 that requests them is unaffected by e.g., new libraries being
7366 /* This breakpoint is special, it's set up when the inferior
7370 /* Like bp_shlib_event, this breakpoint type is special.
7371 Once it is set up, we do not want to touch it. */
7375 over a dlopen call and SOLIB_ADD is resetting the breakpoints.
7426 - If the breakpoint is for all threads, leave it as-is.
7439 If from_tty is nonzero, it prints a message to that effect,
7457 printf_filtered ("Will stop next time breakpoint %d is reached.",
7499 error ("Second argument (specified ignore-count) is missing.");
7554 If from_tty is nonzero, it prints a message to that effect,
7636 is resolvable since shared libraries could have been loaded
7672 is valid is not currently in scope.\n", bpt->number);
7697 /* we can consider of type is bp_hardware_watchpoint, convert to
7833 before a breakpoint is set. */
7838 Usage is `ignore N COUNT'.");
7843 "Set commands to be executed when a breakpoint is hit.\n\
7845 With no argument, the targeted breakpoint is the last one set.\n\
7849 then no output is printed when it is hit, except what the commands print.");
7852 "Specify breakpoint number N to break only if COND is true.\n\
7853 Usage is `condition N COND', where N is an integer and COND is an\n\
7854 expression to be evaluated whenever breakpoint N is reached.");
7858 Like \"break\" except the breakpoint is only temporary,\n\
7871 Like \"hbreak\" except the breakpoint is only temporary,\n\
7879 This is used to cancel the effect of the \"disable\" command.\n\
7887 This is used to cancel the effect of the \"disable\" command.\n\
7895 This is used to cancel the effect of the \"disable\" command.\n\
7901 If a breakpoint is hit while enabled in this fashion, it becomes disabled.",
7906 If a breakpoint is hit while enabled in this fashion, it is deleted.",
7911 If a breakpoint is hit while enabled in this fashion, it is deleted.",
7916 If a breakpoint is hit while enabled in this fashion, it becomes disabled.",
7923 A disabled breakpoint is not forgotten, but has no effect until reenabled.",
7932 A disabled breakpoint is not forgotten, but has no effect until reenabled.");
7938 A disabled breakpoint is not forgotten, but has no effect until reenabled.\n\
7948 The \"unset\" command is also an alias for \"delete\".",
7967 If line number is specified, all breakpoints in that line are cleared.\n\
7968 If function is specified, breakpoints at beginning of function are cleared.\n\
7969 If an address is specified, breakpoints at that address are cleared.\n\n",
7971 is executing in.\n\
7978 If line number is specified, break at start of code for that line.\n\
7979 If function is specified, break at start of code for that function.\n\
7980 If an address is specified, break at that exact address.\n",
7982 This is useful for breaking on return to a stack frame.\n\
8104 after a fork or vfork is caught.\n\n\
8110 Like \"catch\" except the catchpoint is only temporary,\n\
8123 an expression is read.");
8129 an expression is either read or written.");
8140 such is available. (However, any hardware watchpoints that were\n\
8168 Debugger's behavior regarding pending breakpoints is %s.",