Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [RFA] Document fallback behavior for target_so_ops same.
@ 2009-02-03 12:53 Tristan Gingold
  2009-02-03 16:36 ` Joel Brobecker
  0 siblings, 1 reply; 3+ messages in thread
From: Tristan Gingold @ 2009-02-03 12:53 UTC (permalink / raw)
  To: gdb-patches

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);
    };


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-02-04  8:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-03 12:53 [RFA] Document fallback behavior for target_so_ops same Tristan Gingold
2009-02-03 16:36 ` Joel Brobecker
2009-02-04  8:43   ` Tristan Gingold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox