aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-11-07 Put in place the framework necessary for multiarching the hppa targets.Joel Brobecker3-0/+35
* hppa-tdep.c (hppa_gdbarch_init): New function. (hppa_dump_tdep): New function. (_initialize_hppa_tdep): Register the hppa gdbarch init function and tdep structure dumper. * config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0 until the multi-arching conversion has partially been completed.
2002-11-072002-11-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-95/+112
* valops.c (value_assign): Merge lval_register case into lval_reg_frame_relative. Use frame_register and regcache_cooked_write instead of get_saved_register and write_register_bytes. After flushing the register cache, try to re-select the selected frame.
2002-11-072002-11-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney9-49/+65
* regcache.h (deprecated_register_valid): Rename register_valid. * regcache.c: Update. * ia64-aix-nat.c: Update. * i386gnu-nat.c: Update. * alpha-nat.c: Update. * sparc-nat.c: Update. * lynx-nat.c: Update. * remote-mips.c: Update.
2002-11-07 * hppa-tdep.c (_initialize_hppa_tdep): Move function bodyJoel Brobecker2-45/+52
to end of file, to be more consistent with the pratice followed by other targets.
2002-11-072002-11-06 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-28/+97
* infcmd.c: Include "reggroups.h" and <ctype.h>. (print_float_info): Print registers in float_reggroup. (print_vector_info): Print registers in vector_reggroup. (default_print_registers_info): When all, print registers in all_reggroup. Otherwize, print registers in general_reggroup. (registers_info): Rewrite. Add support for register groups. Eliminate a goto.
2002-11-072002-11-06 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+7
* mi-cmd-var.c (mi_cmd_var_create): Change the function used to parse the frame addr from parse_and_eval_address() to string_to_core_addr(). This is a fix for PR gdb/494.
2002-11-07*** empty log message ***gdbadmin1-1/+1
2002-11-062002-11-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-40/+8
* symtab.c (methods_info): Delete. It has been ifdeffed out for ages. (symtab_symbol_info): Remove eons old ifdeffed out code. (_initialize_symtab): Remove prehistoric disabled 'info methods' command.
2002-11-06* c-exp.y: Add missing semi-colons.Theodore A. Roth5-1/+21
* f-exp.y: Add missing semi-colons. * m2-exp.y: Add missing semi-colons. * p-exp.y: Add missing semi-colons. Add empty action to start rule to avoid a type clash error when building with bison >= 1.50.
2002-11-06* macrotab.h (struct macro_source_file): Doc fix.Jim Blandy2-0/+13
2002-11-06*** empty log message ***gdbadmin1-1/+1
2002-11-052002-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-4/+35
From Jim Ingham <jingham@apple.com>: * event-top.c (gdb_disable_readline): New function. (_initialize_event_loop): Move comment.
2002-11-052002-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston3-0/+154
* gdb792.cc: New file to test patch for PR gdb/792. * gdb792.exp: Ditto.
2002-11-052002-11-05 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-37/+86
* varobj.c (child_exists, cplus_number_of_children): Change STREQ macro references to strcmp. (cplus_name_of_child): Change code to handle the fact that fields are not necessarily contiguous with regards to their access control. This is a fix for PR gdb/792.
2002-11-052002-11-05 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-9/+125
* gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function. * gdbarch.h, gdbarch.c: Regnerate. * frame.h (frame_register): Declare. * frame.c (frame_register): New function. (get_saved_register): Test GET_SAVED_REGISTER_P before calling GET_SAVED_REGISTER, otherwize call generic_unwind_get_saved_register. (frame_register_read): Use frame_register instead of get_saved_register.
2002-11-052002-11-05 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+11
* event-loop.c (start_event_loop): Add comment. Update copyright.
2002-11-052002-11-05 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-6/+5
* infcmd.c (default_print_registers_info): Do not call PRINT_REGISTER_HOOK.
2002-11-052002-11-05 Andrew Cagney <ac131313@redhat.com>Andrew Cagney4-11/+167
* sparc-tdep.c (sparc_print_register_hook): Make static. (sparc_print_registers_info): New function. (sparc_do_registers_info): New function. (sparclet_print_registers_info): New function. (sparclet_do_registers_info): New function. (do_sparc_print_registers_info): New function. (sparc_print_registers): New static function, clone of infcmd.c's default_print_registers_info. * config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro. (sparclet_do_registers_info): Declare. (DEPRECATED_DO_REGISTERS_INFO): Re-define. * config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO): Re-define. (sparc_do_registers_info): Declare. (PRINT_REGISTER_HOOK): Delete macro. (sparc_print_register_hook): Delete declaration.
2002-11-052002-11-05 David Carlton <carlton@math.stanford.edu>David Carlton2-124/+201
* symtab.c (lookup_symbol_aux): Move chunks of code into separate functions. (lookup_symbol_aux_local): New function. (lookup_symbol_aux_symtabs): New function. (lookup_symbol_aux_psymtabs): New function.
2002-11-052002-11-05 David Carlton <carlton@math.stanford.edu>David Carlton2-3/+8
* symtab.c (lookup_symbol_aux): In minsym sections, don't use the previous values of 'objfile' and 'block'.
2002-11-052002-11-04 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni23-688/+93
* mi-console.exp: Use mi_runto, mi_run_to_main, mi_next_to, mi_step_to wherever possible. Update copyright notices. * mi-disassemble.exp: Ditto. * mi-eval.exp: Ditto. * mi-read-memory.exp: Ditto. * mi-regs.exp: Ditto. * mi-return.exp: Ditto. * mi-stack.exp: Ditto. * mi-stepi.exp: Ditto. * mi-var-block.exp: Ditto. * mi-var-cmd.exp: Ditto. * mi-watch.exp: Ditto. * mi1-console.exp: Ditto. * mi1-disassemble.exp: Ditto. * mi1-eval.exp: Ditto. * mi1-read-memory.exp: Ditto. * mi1-regs.exp: Ditto. * mi1-return.exp: Ditto. * mi1-stack.exp: Ditto. * mi1-stepi.exp: Ditto. * mi1-var-block.exp: Ditto. * mi1-var-cmd.exp: Ditto. * mi1-watch.exp: Ditto.
2002-11-05Correct the ChangeLog entry for 2002-10-11 from:Klee Dienes1-1/+1
* findvar.c (read_memory_typed_address): New function. to * corefile.c (read_memory_typed_address): New function.
2002-11-052002-10-07 Pierre Muller <muller@ics.u-strasbg.fr>Pierre Muller2-1/+9
* values.c (value_change_enclosing_type): Set enclosing_type field correctly also for the case where more memory needs to be allocated.
2002-11-05*** empty log message ***gdbadmin1-1/+1
2002-11-04*** empty log message ***gdbadmin1-1/+1
2002-11-03* i387-tdep.c (i387_print_float_info): Call fputs_filtered insteadMark Kettenis2-1/+4
of puts_filtered.
2002-11-03* i387-tdep.c (i387_print_float_info): Replace calls toMark Kettenis2-18/+34
register_read and deprecated_read_register_gen with calls to frame_register_read, and make the necessary adjustments to the surrounding code.
2002-11-032002-11-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-4/+7
* gdbarch.sh (register_reggroup_p): Allow default value. * gdbarch.h, gdbarch.c: Regenerate.
2002-11-03*** empty log message ***gdbadmin1-1/+1
2002-11-022002-11-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-4/+21
* regcache.h: Add coment indicating replacements for deprecated functions.
2002-11-022002-11-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney8-27/+459
* reggroups.h, reggroups.c: New files. * regcache.c: Include "reggroups.h". (enum regcache_dump_what): Add `regcache_dump_groups'. (regcache_dump): Contract size of the "Type" column. When specified, dump the register's groups. (maintenance_print_register_groups): New function. (_initialize_regcache): Add command `maint print register-groups'. * Makefile.in (COMMON_OBS): Add reggroups.o (SFILES): Add reggroups.c. (reggroups_h): Define. (regcache.o, gdbarch.o): Update dependencies. (reggroups.o): Specify dependencies. * gdbarch.sh (register_reggroup_p): Add pure multi-arch method. Add opaque declaration for `struct reggroup' in generated .h file. Include "reggroups.h" in generated .c file. gdbarch.h, gdbarch.c: Re-generate.
2002-11-022002-11-02 Andrew Cagney <cagney@redhat.com>Andrew Cagney26-75/+105
* regcache.h (deprecated_read_register_gen): Rename read_register_gen. (deprecated_write_register_gen): Rename write_register_gen. * i387-tdep.c: Update. * x86-64-linux-nat.c: Update * wince.c: Update. * thread-db.c: Update. * win32-nat.c: Update. * mips-tdep.c: Update. * d10v-tdep.c: Update. * cris-tdep.c: Update. * remote-sim.c: Update. * remote-rdi.c: Update. * remote-rdp.c: Update. * frame.c: Update. * target.c: Update. * blockframe.c: Update. * x86-64-tdep.c: Update. * xstormy16-tdep.c: Update. * sh-tdep.c: Update. * s390-tdep.c: Update. * rs6000-tdep.c: Update. * sparc-tdep.c: Update. * i386-tdep.c: Update. * dwarf2cfi.c: Update. * regcache.c: Update.
2002-11-02*** empty log message ***gdbadmin1-1/+1
2002-11-01 New interix-specific files:Joel Brobecker6-0/+611
* config/i386/nm-interix.h: New file. * config/i386/interix.mh: New file. * config/i386/interix.mt: New file. * i386-interix-nat.c: New file. * i386-interix-tdep.c: New file.
2002-11-012002-11-01 Andrew Cagney <cagney@redhat.com>Andrew Cagney10-16/+36
* frame.h (deprecated_generic_get_saved_register): Rename generic_get_saved_register. * blockframe.c (deprecated_generic_get_saved_register): Update. * xstormy16-tdep.c (xstormy16_get_saved_register): Update. (xstormy16_frame_saved_register): Update. * sh-tdep.c (sh_gdbarch_init): Update. * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. * ia64-tdep.c (ia64_get_saved_register): Update. * cris-tdep.c (cris_gdbarch_init): Update. * config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update. * arm-tdep.c (arm_gdbarch_init): Update.
2002-11-01*** empty log message ***gdbadmin1-1/+1
2002-10-31 * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step.Daniel Jacobowitz2-5/+6
2002-10-31 * i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check forDaniel Jacobowitz2-5/+16
trampolines in sigaction.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-36/+57
* h8300-tdep.c: Include "gdb_assert.h". (h8300_print_register): Add gdbarch, file and frame parameters. Use frame_read_unsigned_register to read the register's value. Use fprintf_filtered to display output. (h8300_print_registers_info): Replace h8300_do_registers_info. (h8300_gdbarch_init): Set print_registers_info.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-0/+51
* frame.c (frame_read_unsigned_register): New function. (frame_read_signed_register): New function. * frame.h (frame_read_unsigned_register): Declare. (frame_read_signed_register): Declare.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-6/+133
* h8500-tdep.c (h8500_print_registers_info): New static function, clone of infcmd.c's default_print_registers_info. (h8500_do_registers_info): New funtion. (h8500_print_register_hook): Rename print_register_hook, make static. * config/h8500/tm-h8500.h: Update copyright. (DEPRECATED_DO_REGISTERS_INFO): Define. (h8500_do_registers_info: Declare. (PRINT_REGISTER_HOOK): Delete macro. (print_register_hook): Delete function.
2002-10-312002-10-31 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-6/+130
* z8k-tdep.c (z8k_print_register_hook): Make static. (z8k_print_registers_info): New static function, clone of infcmd.c's default_print_registers_info. (z8k_do_registers_info): New function. Wrap z8k_print_registers_info. * config/z8k/tm-z8k.h: Update copyright. (PRINT_REGISTER_HOOK): Delete macro. (z8k_print_register_hook): Delete declaration. (DEPRECATED_DO_REGISTERS_INFO): Define. (z8k_do_registers_info): Declare.
2002-10-31*** empty log message ***gdbadmin1-1/+1
2002-10-30 * hppa-tdep.c (find_function_in_inferior): Remove this extern,Joel Brobecker2-4/+9
as this is already provided by value.h, and was actually causing a compilation error because of a conflict in parameter type declaration due to a missing const keyword. (low_text_segment_addres): Fix a compilation warning.
2002-10-30 * mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetchDaniel Jacobowitz2-0/+11
registers without a name. (mips_linux_cannot_store_register): Don't store registers without a name.
2002-10-30*** empty log message ***gdbadmin1-1/+1
2002-10-29*** empty log message ***gdbadmin1-1/+1
2002-10-282002-10-28 David Carlton <carlton@math.stanford.edu>David Carlton3-95/+6
* symtab.c (find_addr_symbol): Delete. (It was already commented out.) * symtab.h: Delete prototype for find_addr_symbol.
2002-10-28*** empty log message ***gdbadmin1-1/+1
2002-10-27*** empty log message ***gdbadmin1-1/+1