mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-26 17:18:55 +00:00
Fix GDB crash problem when object file of different H8 cpu is loaded
This commit is contained in:
@@ -4930,6 +4930,8 @@ set_h8300h (unsigned long machine)
|
||||
This function being replaced by a sim_open:ARGV configuration
|
||||
option. */
|
||||
|
||||
h8300hmode = h8300smode = h8300sxmode = h8300_normal_mode = 0;
|
||||
|
||||
if (machine == bfd_mach_h8300sx || machine == bfd_mach_h8300sxn)
|
||||
h8300sxmode = 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user