Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: gdb/bfin-tdep.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « gdb/bfin-linux-tdep.c ('k') | gdb/block.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Target-dependent code for Analog Devices Blackfin processor, for GDB. 1 /* Target-dependent code for Analog Devices Blackfin processor, for GDB.
2 2
3 Copyright (C) 2005-2012 Free Software Foundation, Inc. 3 Copyright (C) 2005-2012 Free Software Foundation, Inc.
4 4
5 Contributed by Analog Devices, Inc. 5 Contributed by Analog Devices, Inc.
6 6
7 This file is part of GDB. 7 This file is part of GDB.
8 8
9 This program is free software; you can redistribute it and/or modify 9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by 10 it under the terms of the GNU General Public License as published by
(...skipping 645 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 } 656 }
657 657
658 /* Determine, for architecture GDBARCH, how a return value of TYPE 658 /* Determine, for architecture GDBARCH, how a return value of TYPE
659 should be returned. If it is supposed to be returned in registers, 659 should be returned. If it is supposed to be returned in registers,
660 and READBUF is nonzero, read the appropriate value from REGCACHE, 660 and READBUF is nonzero, read the appropriate value from REGCACHE,
661 and copy it into READBUF. If WRITEBUF is nonzero, write the value 661 and copy it into READBUF. If WRITEBUF is nonzero, write the value
662 from WRITEBUF into REGCACHE. */ 662 from WRITEBUF into REGCACHE. */
663 663
664 static enum return_value_convention 664 static enum return_value_convention
665 bfin_return_value (struct gdbarch *gdbarch, 665 bfin_return_value (struct gdbarch *gdbarch,
666 » » struct type *func_type, 666 » » struct value *function,
667 struct type *type, 667 struct type *type,
668 struct regcache *regcache, 668 struct regcache *regcache,
669 gdb_byte *readbuf, 669 gdb_byte *readbuf,
670 const gdb_byte *writebuf) 670 const gdb_byte *writebuf)
671 { 671 {
672 if (TYPE_LENGTH (type) > 8) 672 if (TYPE_LENGTH (type) > 8)
673 return RETURN_VALUE_STRUCT_CONVENTION; 673 return RETURN_VALUE_STRUCT_CONVENTION;
674 674
675 if (readbuf) 675 if (readbuf)
676 bfin_extract_return_value (type, regcache, readbuf); 676 bfin_extract_return_value (type, regcache, readbuf);
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
861 } 861 }
862 862
863 /* Provide a prototype to silence -Wmissing-prototypes. */ 863 /* Provide a prototype to silence -Wmissing-prototypes. */
864 extern initialize_file_ftype _initialize_bfin_tdep; 864 extern initialize_file_ftype _initialize_bfin_tdep;
865 865
866 void 866 void
867 _initialize_bfin_tdep (void) 867 _initialize_bfin_tdep (void)
868 { 868 {
869 register_gdbarch_init (bfd_arch_bfin, bfin_gdbarch_init); 869 register_gdbarch_init (bfd_arch_bfin, bfin_gdbarch_init);
870 } 870 }
OLDNEW
« no previous file with comments | « gdb/bfin-linux-tdep.c ('k') | gdb/block.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698