aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorPedro Alves <palves@redhat.com>2008-10-31 19:41:37 +0000
committerPedro Alves <palves@redhat.com>2008-10-31 19:41:37 +0000
commit3990c31b8a80a006d4f86b4b6260f466c3bacbe9 (patch)
tree1d17d4dab12e2b8436c5ddb7e24c05a61f348b11 /gdb
parentac5d747e17d4c7b4f225f6b5efcfec84dec10870 (diff)
downloadgdb-3990c31b8a80a006d4f86b4b6260f466c3bacbe9.zip
gdb-3990c31b8a80a006d4f86b4b6260f466c3bacbe9.tar.gz
gdb-3990c31b8a80a006d4f86b4b6260f466c3bacbe9.tar.bz2
* inferior.h (write_inferior_status_register): Delete.
* infrun.c (write_inferior_status_register): Delete.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/inferior.h4
-rw-r--r--gdb/infrun.c10
3 files changed, 5 insertions, 14 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 00c4fb7..3674825 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2008-10-31 Pedro Alves <pedro@codesourcery.com>
+
+ * inferior.h (write_inferior_status_register): Delete.
+ * infrun.c (write_inferior_status_register): Delete.
+
2008-10-02 Tom Tromey <tromey@redhat.com>
* value.c (coerce_array): Use check_typedef.
diff --git a/gdb/inferior.h b/gdb/inferior.h
index c707c36..bbd6580 100644
--- a/gdb/inferior.h
+++ b/gdb/inferior.h
@@ -58,10 +58,6 @@ extern struct cleanup *make_cleanup_restore_inferior_status (struct inferior_sta
extern void discard_inferior_status (struct inferior_status *);
-extern void write_inferior_status_register (struct inferior_status
- *inf_status, int regno,
- LONGEST val);
-
/* The -1 ptid, often used to indicate either an error condition
or a "don't care" condition, i.e, "run all threads." */
extern ptid_t minus_one_ptid;
diff --git a/gdb/infrun.c b/gdb/infrun.c
index 46b5e40..30d914d 100644
--- a/gdb/infrun.c
+++ b/gdb/infrun.c
@@ -4724,16 +4724,6 @@ struct inferior_status
int proceed_to_finish;
};
-void
-write_inferior_status_register (struct inferior_status *inf_status, int regno,
- LONGEST val)
-{
- int size = register_size (current_gdbarch, regno);
- void *buf = alloca (size);
- store_signed_integer (buf, size, val);
- regcache_raw_write (inf_status->registers, regno, buf);
-}
-
/* Save all of the information associated with the inferior<==>gdb
connection. INF_STATUS is a pointer to a "struct inferior_status"
(defined in inferior.h). */