Delete unused or undefined functions.
* breakpoint.c (ep_parse_optional_filename): Delete. * dcache.c (dcache_write_line): Remove declaration. * infrun.c (build_infrun): Remove declaration. * tracepoint.c (tracepoint_save_command): Remove declaration. * linux-nat.c (init_lwp_list): Delete. No longer used. * event-loop.c (check_async_signal_handlers): Delete declaration. * infrun.c (init_execution_control_state): Delete. (proceed): Update comment to avoid mentioning init_execution_control_state. * target.c (kill_or_be_killed, nosupport_runtime): Delete. * ada-lang.c (ada_to_static_fixed_value): Delete. * scm-lang.c (evaluate_subexp_scm): Delete declaration. * cp-namespace.c (cp_copy_usings): Delete. * xml-syscall.c (xml_number_of_syscalls): Delete. * progspace.c (find_program_space_by_num): Delete. * inflow.c (handle_sigio): Delete declaration. * hppa-tdep.c (hppa_alignof): Delete. * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset) (mipsnbsd_core_osabi_sniffer): Delete.
This commit is contained in:
parent
37a1f2771f
commit
d5cd603472
16 changed files with 31 additions and 276 deletions
|
@ -7575,22 +7575,6 @@ ada_to_fixed_value (struct value *val)
|
|||
value_address (val),
|
||||
val);
|
||||
}
|
||||
|
||||
/* A value representing VAL, but with a standard (static-sized) type
|
||||
chosen to approximate the real type of VAL as well as possible, but
|
||||
without consulting any runtime values. For Ada dynamic-sized
|
||||
types, therefore, the type of the result is likely to be inaccurate. */
|
||||
|
||||
static struct value *
|
||||
ada_to_static_fixed_value (struct value *val)
|
||||
{
|
||||
struct type *type =
|
||||
to_static_fixed_type (static_unwrap_type (value_type (val)));
|
||||
if (type == value_type (val))
|
||||
return val;
|
||||
else
|
||||
return coerce_unspec_val_to_type (val, type);
|
||||
}
|
||||
|
||||
|
||||
/* Attributes */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue