static int
alphanbsd_pc_in_sigtramp (struct gdbarch *gdbarch,
- CORE_ADDR pc, const char *func_name)
+ CORE_ADDR pc, const char *func_name)
{
return (nbsd_pc_in_sigtramp (pc, func_name)
|| alphanbsd_sigtramp_offset (gdbarch, pc) >= 0);
/* Update the original tags vector. */
tags = std::move (unpacked_tags);
}
-
{
case 0:
if (children[v_public] > 0)
- access = "public";
+ access = "public";
else if (children[v_private] > 0)
- access = "private";
+ access = "private";
else
- access = "protected";
+ access = "protected";
break;
case 1:
if (children[v_public] > 0)
access = "protected";
}
else if (children[v_private] > 0)
- access = "protected";
+ access = "protected";
break;
case 2:
/* Must be protected. */
if (flags->cont && flags->silent)
error (_("%s: -c and -s are mutually exclusive"), which_command);
}
-
import subprocess
import sys
-re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|h)$)")
+re_clean = re.compile("(^(gdb/testsuite/|gdbsupport/|gdbserver/)|[.](m4|ac|[ch])$)")
+re_clean_exclude = re.compile("^(gdb/symfile.c|gdb/cli/cli-cmds.c)$")
clean = []
other = []
for f in sys.argv[1:]:
m = re_clean.search(f)
+ if m and re_clean_exclude.search(f):
+ m = None
if m:
clean.append(f)
else:
return d_lookup_symbol_module (scope, name, block, domain);
}
-
count = VM_REGION_BASIC_INFO_COUNT_64;
kret =
mach_vm_region (task, &address, &size, VM_REGION_BASIC_INFO_64,
- (vm_region_info_t) &info, &count, &object_name);
+ (vm_region_info_t) &info, &count, &object_name);
if (kret != KERN_SUCCESS)
{
size = 0;
}
auto bv = std::make_unique<blockvector> (actual_nblocks);
-
+
/* At the end of this function, (begin, end) will contain the PC range this
entire blockvector spans. */
begin = stab->blocks.front ().begin;
type_allocator alloc (gdbarch);
int_type = init_integer_type (alloc, gdbarch_int_bit (gdbarch),
- 0, "int");
+ 0, "int");
uint_type = init_integer_type (alloc, gdbarch_int_bit (gdbarch),
1, "unsigned int");
long_type = init_integer_type (alloc, gdbarch_long_bit (gdbarch),
gdbarch_register (bfd_arch_m68hc12, m68hc11_gdbarch_init);
m68hc11_init_reggroups ();
}
-
#define SC_IS_TEXT(sc) ((sc) == scText \
|| (sc) == scRConst \
- || (sc) == scInit \
- || (sc) == scFini)
+ || (sc) == scInit \
+ || (sc) == scFini)
#define SC_IS_DATA(sc) ((sc) == scData \
|| (sc) == scSData \
|| (sc) == scRData \
breakpoint_set_commands (b, std::move (break_command));
}
-
{
mi_cmd_catch_exception_event (EX_EVENT_CATCH, cmd, argv, argc);
}
-
remote_file_delete (remote_file, 0);
}
-
gdbarch_register_osabi (bfd_arch_mn10300, 0,
GDB_OSABI_LINUX, am33_linux_init_osabi);
}
-
{
gdbarch_register (bfd_arch_mn10300, mn10300_gdbarch_init, mn10300_dump_tdep);
}
-
ppc64_sysv_abi_push_param (gdbarch, eltype, val, &argpos);
ppc64_sysv_abi_push_param (gdbarch, eltype,
- val + eltype->length (), &argpos);
+ val + eltype->length (), &argpos);
}
else if (type->code () == TYPE_CODE_ARRAY && type->is_vector ()
&& opencl_abi)
gdbarch_register_osabi (bfd_arch_powerpc, 0, GDB_OSABI_AIX,
rs6000_aix_init_osabi);
}
-
gdbarch_register_osabi (bfd_arch_rs6000, 0, GDB_OSABI_LYNXOS178,
rs6000_lynx178_init_osabi);
}
-
result.emplace_back (&name[previous_len]);
return result;
}
-
const target_float_ops *ops = get_target_float_ops (type_x, type_y);
return ops->compare (x, type_x, y, type_y);
}
-
selftests::register_test ("child_path",
selftests::child_path::test);
}
-
selftests::register_test ("mkdir_recursive",
selftests::mkdir_recursive::test);
}
-