[RFA] Document fallback behavior for target_so_ops same.
Tristan Gingold
gingold@adacore.com
Tue Feb 3 12:53:00 GMT 2009
Hi,
as indicated by Joel, solib has a fallback if 'same' target_so_op is
not set. This patch documents
it.
Tristan.
2009-02-03 Tristan Gingold <gingold@adacore.com>
* solist.h (struct target_so_ops): Comment fallback behavior for
operation same.
diff -u -r1.23 solist.h
--- solist.h 15 Jan 2009 16:35:22 -0000 1.23
+++ solist.h 3 Feb 2009 12:51:17 -0000
@@ -119,7 +119,8 @@
/* Given two so_list objects, one from the GDB thread list
and another from the list returned by current_sos, return 1
- if they represent the same library. */
+ if they represent the same library.
+ Falls back to using strcmp on so_original_name field. */
int (*same) (struct so_list *gdb, struct so_list *inferior);
};
More information about the Gdb-patches
mailing list