projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Resume the inferior with signal rather than stepping over
[deliverable/binutils-gdb.git]
/
gdb
/
ada-tasks.c
diff --git
a/gdb/ada-tasks.c
b/gdb/ada-tasks.c
index fbe67aa1cf68b15145f94db2822ae54c78ced9d9..c067ae66727f12546cf3d43cd4195de15bed9ee8 100644
(file)
--- a/
gdb/ada-tasks.c
+++ b/
gdb/ada-tasks.c
@@
-1,4
+1,4
@@
-/* Copyright (C) 1992-201
5
Free Software Foundation, Inc.
+/* Copyright (C) 1992-201
6
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-248,7
+248,8
@@
get_ada_tasks_pspace_data (struct program_space *pspace)
{
struct ada_tasks_pspace_data *data;
{
struct ada_tasks_pspace_data *data;
- data = program_space_data (pspace, ada_tasks_pspace_data_handle);
+ data = ((struct ada_tasks_pspace_data *)
+ program_space_data (pspace, ada_tasks_pspace_data_handle));
if (data == NULL)
{
data = XCNEW (struct ada_tasks_pspace_data);
if (data == NULL)
{
data = XCNEW (struct ada_tasks_pspace_data);
@@
-275,7
+276,8
@@
get_ada_tasks_inferior_data (struct inferior *inf)
{
struct ada_tasks_inferior_data *data;
{
struct ada_tasks_inferior_data *data;
- data = inferior_data (inf, ada_tasks_inferior_data_handle);
+ data = ((struct ada_tasks_inferior_data *)
+ inferior_data (inf, ada_tasks_inferior_data_handle));
if (data == NULL)
{
data = XCNEW (struct ada_tasks_inferior_data);
if (data == NULL)
{
data = XCNEW (struct ada_tasks_inferior_data);
@@
-1100,7
+1102,7
@@
print_ada_task_info (struct ui_out *uiout,
/* Print the associated Thread ID. */
if (ui_out_is_mi_like_p (uiout))
{
/* Print the associated Thread ID. */
if (ui_out_is_mi_like_p (uiout))
{
- const int thread_id = p
id_to
_thread_id (task_info->ptid);
+ const int thread_id = p
tid_to_global
_thread_id (task_info->ptid);
if (thread_id != 0)
ui_out_field_int (uiout, "thread-id", thread_id);
if (thread_id != 0)
ui_out_field_int (uiout, "thread-id", thread_id);
This page took
0.037922 seconds
and
4
git commands to generate.