2006-05-31 Michael Snyder <msnyder@redhat.com>
* mips-tdep.c: Comment tweaks.
This commit is contained in:
parent
af6eff6f33
commit
f49e4e6d76
2 changed files with 8 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-05-31 Michael Snyder <msnyder@redhat.com>
|
||||||
|
|
||||||
|
* mips-tdep.c: Comment tweaks.
|
||||||
|
|
||||||
2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
|
2006-05-31 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* Makefile.in (top_builddir): Update comments.
|
* Makefile.in (top_builddir): Update comments.
|
||||||
|
|
|
@ -887,8 +887,8 @@ mips32_relative_offset (ULONGEST inst)
|
||||||
return ((itype_immediate (inst) ^ 0x8000) - 0x8000) << 2;
|
return ((itype_immediate (inst) ^ 0x8000) - 0x8000) << 2;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Determine whate to set a single step breakpoint while considering
|
/* Determine where to set a single step breakpoint while considering
|
||||||
branch prediction */
|
branch prediction. */
|
||||||
static CORE_ADDR
|
static CORE_ADDR
|
||||||
mips32_next_pc (CORE_ADDR pc)
|
mips32_next_pc (CORE_ADDR pc)
|
||||||
{
|
{
|
||||||
|
@ -5163,7 +5163,7 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
|
||||||
{
|
{
|
||||||
int ef_mips_arch;
|
int ef_mips_arch;
|
||||||
int ef_mips_32bitmode;
|
int ef_mips_32bitmode;
|
||||||
/* determine the ISA */
|
/* Determine the ISA. */
|
||||||
switch (tdep->elf_flags & EF_MIPS_ARCH)
|
switch (tdep->elf_flags & EF_MIPS_ARCH)
|
||||||
{
|
{
|
||||||
case E_MIPS_ARCH_1:
|
case E_MIPS_ARCH_1:
|
||||||
|
@ -5182,7 +5182,7 @@ mips_dump_tdep (struct gdbarch *current_gdbarch, struct ui_file *file)
|
||||||
ef_mips_arch = 0;
|
ef_mips_arch = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* determine the size of a pointer */
|
/* Determine the size of a pointer. */
|
||||||
ef_mips_32bitmode = (tdep->elf_flags & EF_MIPS_32BITMODE);
|
ef_mips_32bitmode = (tdep->elf_flags & EF_MIPS_32BITMODE);
|
||||||
fprintf_unfiltered (file,
|
fprintf_unfiltered (file,
|
||||||
"mips_dump_tdep: tdep->elf_flags = 0x%x\n",
|
"mips_dump_tdep: tdep->elf_flags = 0x%x\n",
|
||||||
|
|
Loading…
Add table
Reference in a new issue