* [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
* Re: [RFA] Document fallback behavior for target_so_ops same.
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
0 siblings, 1 reply; 3+ messages in thread
From: Joel Brobecker @ 2009-02-03 16:36 UTC (permalink / raw)
To: Tristan Gingold; +Cc: gdb-patches
> 2009-02-03 Tristan Gingold <gingold@adacore.com>
>
> * solist.h (struct target_so_ops): Comment fallback behavior for
> operation same.
Thanks for sending the patch. This is OK, with just one tiny request:
> 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. */
Can you add "when set to NULL" at the end of your new sentence?
Falls back to using strcmp on so_original_name field
when set to NULL.
Thanks,
--
Joel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [RFA] Document fallback behavior for target_so_ops same.
2009-02-03 16:36 ` Joel Brobecker
@ 2009-02-04 8:43 ` Tristan Gingold
0 siblings, 0 replies; 3+ messages in thread
From: Tristan Gingold @ 2009-02-04 8:43 UTC (permalink / raw)
To: Joel Brobecker; +Cc: gdb-patches
On Feb 3, 2009, at 5:36 PM, Joel Brobecker wrote:
> Can you add "when set to NULL" at the end of your new sentence?
>
> Falls back to using strcmp on so_original_name field
> when set to NULL.
Committed with this sentence. Thanks
Tristan.
^ 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