From 7a848be1e44cec4b230c0a1d417953691d71558c Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Wed, 4 Feb 2009 08:42:11 +0000 Subject: [PATCH] 2009-02-04 Tristan Gingold * solist.h (struct target_so_ops): Comment fallback behavior for operation same. --- gdb/ChangeLog | 5 +++++ gdb/solist.h | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0f575512c7..6fdfb154ff 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,8 @@ +2009-02-04 Tristan Gingold + + * solist.h (struct target_so_ops): Comment fallback behavior for + operation same. + 2009-02-03 Tom Tromey * completer.c (add_struct_fields): Check type_name against NULL diff --git a/gdb/solist.h b/gdb/solist.h index 64754f34e9..56b09e3910 100644 --- a/gdb/solist.h +++ b/gdb/solist.h @@ -119,7 +119,9 @@ struct target_so_ops /* 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 when set + to NULL. */ int (*same) (struct so_list *gdb, struct so_list *inferior); };