This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[RFA] Document fallback behavior for target_so_ops same.
- From: Tristan Gingold <gingold at adacore dot com>
- To: gdb-patches at sourceware dot org
- Date: Tue, 3 Feb 2009 13:52:48 +0100
- Subject: [RFA] Document fallback behavior for target_so_ops same.
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);
};