- Backport fix on various forms of threads tracking across exec() (BZ
442765).
- Testsuite: Include more biarch libraries on %{multilib_64_archs}.
- Disable the build-id warnings for the testsuite run as they cause some
FAILs.
- Fix PIE support for 32bit inferiors on 64bit debugger.
- Fix trashing memory on one ada/gnat testcase.
- Make the testsuite results on ada more stable.
This commit is contained in:
parent
7db944e3bd
commit
c499105421
8 changed files with 1332 additions and 250 deletions
|
|
@ -88,3 +88,59 @@
|
|||
|
||||
set timeout $oldtimeout
|
||||
return 0
|
||||
|
||||
|
||||
|
||||
2008-04-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
* ada-lang.c (get_selections): Variable PROMPT made non-const and
|
||||
initialized with a trailing space now. Use PROMPT_ARG of
|
||||
COMMAND_LINE_INPUT instead of printing it ourselves.
|
||||
|
||||
--- ./gdb/ada-lang.c 6 Apr 2008 08:56:36 -0000 1.137
|
||||
+++ ./gdb/ada-lang.c 21 Apr 2008 13:33:42 -0000
|
||||
@@ -3424,18 +3424,15 @@ get_selections (int *choices, int n_choi
|
||||
int is_all_choice, char *annotation_suffix)
|
||||
{
|
||||
char *args;
|
||||
- const char *prompt;
|
||||
+ char *prompt;
|
||||
int n_chosen;
|
||||
int first_choice = is_all_choice ? 2 : 1;
|
||||
|
||||
prompt = getenv ("PS2");
|
||||
if (prompt == NULL)
|
||||
- prompt = ">";
|
||||
+ prompt = "> ";
|
||||
|
||||
- printf_unfiltered (("%s "), prompt);
|
||||
- gdb_flush (gdb_stdout);
|
||||
-
|
||||
- args = command_line_input ((char *) NULL, 0, annotation_suffix);
|
||||
+ args = command_line_input (prompt, 0, annotation_suffix);
|
||||
|
||||
if (args == NULL)
|
||||
error_no_arg (_("one or more choice numbers"));
|
||||
|
||||
|
||||
|
||||
2008-04-21 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Workaround GCC PR ada/35998.
|
||||
* ada-lang.c (to_fixed_record_type): Error out on invalid length of the
|
||||
type TYPE0.
|
||||
|
||||
--- ./gdb/ada-lang.c 6 Apr 2008 08:56:36 -0000 1.137
|
||||
+++ ./gdb/ada-lang.c 20 Apr 2008 21:47:05 -0000
|
||||
@@ -7313,6 +7313,11 @@ to_fixed_record_type (struct type *type0
|
||||
{
|
||||
struct type *templ_type;
|
||||
|
||||
+ /* GCC PR ada/35998 workaround. */
|
||||
+ if (TYPE_LENGTH (type0) == 0xffffffff)
|
||||
+ error (_("Type %s has invalid length -1, check your GCC"),
|
||||
+ TYPE_NAME (type0));
|
||||
+
|
||||
if (TYPE_FLAGS (type0) & TYPE_FLAG_FIXED_INSTANCE)
|
||||
return type0;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue