• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revision22f83b9399718ab1e5701641a6cfe3ee6c180162 (tree)
Time2016-09-19 23:44:43
AuthorPedro Alves <palves@redh...>
CommiterPedro Alves

Log Message

lookup_minimal_symbol_text

Noticed that create_exception_master_breakpoint could be using the
cheaper lookup_minimal_symbol_text instead of lookup_minimal_symbol.

Change Summary

Incremental Difference

--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -3727,7 +3727,7 @@ create_exception_master_breakpoint (struct sym_search_scope *search_scope)
37273727 {
37283728 struct bound_minimal_symbol debug_hook;
37293729
3730- debug_hook = lookup_minimal_symbol (func_name, NULL, objfile);
3730+ debug_hook = lookup_minimal_symbol_text (func_name, objfile);
37313731 if (debug_hook.minsym == NULL)
37323732 {
37333733 bp_objfile_data->exception_msym.minsym = &msym_not_found;