mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 17:18:24 +08:00
* solib-svr4.c (enable_break): Don't attempt to place breakpoints,
when attaching, on the names in bkpt_names: _start, __start, and main.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2010-12-13 Kevin Buettner <kevinb@redhat.com>
|
||||
|
||||
* solib-svr4.c (enable_break): Don't attempt to place breakpoints,
|
||||
when attaching, on the names in bkpt_names: _start, __start, and
|
||||
main.
|
||||
|
||||
2010-12-12 Stan Shebs <stan@codesourcery.com>
|
||||
|
||||
* value.c (value_of_internalvar): Add case for trace state
|
||||
|
@ -1607,6 +1607,8 @@ enable_break (struct svr4_info *info, int from_tty)
|
||||
}
|
||||
}
|
||||
|
||||
if (!current_inferior ()->attach_flag)
|
||||
{
|
||||
for (bkpt_namep = bkpt_names; *bkpt_namep != NULL; bkpt_namep++)
|
||||
{
|
||||
msymbol = lookup_minimal_symbol (*bkpt_namep, NULL, symfile_objfile);
|
||||
@ -1620,6 +1622,7 @@ enable_break (struct svr4_info *info, int from_tty)
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user