Module Name:    src
Committed By:   christos
Date:           Thu May 30 21:15:47 UTC 2019

Modified Files:
        src/external/gpl3/gdb/dist/gdb: bsd-kvm.c

Log Message:
set the architecture of the inferior.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 src/external/gpl3/gdb/dist/gdb/bsd-kvm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/gdb/dist/gdb/bsd-kvm.c
diff -u src/external/gpl3/gdb/dist/gdb/bsd-kvm.c:1.13 src/external/gpl3/gdb/dist/gdb/bsd-kvm.c:1.14
--- src/external/gpl3/gdb/dist/gdb/bsd-kvm.c:1.13	Wed May 29 13:52:09 2019
+++ src/external/gpl3/gdb/dist/gdb/bsd-kvm.c	Thu May 30 17:15:47 2019
@@ -110,6 +110,7 @@ bsd_kvm_target_open (const char *arg, in
   kvm_t *temp_kd;
   struct inferior *inf;
   char *filename = NULL;
+  struct gdbarch_info info;
 
   target_preopen (from_tty);
 
@@ -141,6 +142,8 @@ bsd_kvm_target_open (const char *arg, in
   inf->aspace = maybe_new_address_space ();
   inf->pspace = new program_space (inf->aspace);
 
+  inf->gdbarch = get_current_arch ();
+
   add_thread_silent (bsd_kvm_ptid);
   inferior_ptid = bsd_kvm_ptid;
 

Reply via email to