OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [gdb/] [ChangeLog] - Blame information for rev 178

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 146 jeremybenn
2010-06-30  Jeremy Bennett  
2
 
3
        * or1k-tdep.c (or1k_fetch_instruction): Logic flow made clearer.
4
        (or1k_analyse_inst, or1k_analyse_L_addi)
5
        (or1k_analyse_l_sw): Added.
6
        (or1k_frame_size, or1k_frame_fp_loc, or1k_frame_size_check)
7
        (or1k_link_address, or1k_get_saved_reg): Removed.
8
        (or1k_skip_prologue, or1k_frame_unwind_cache): Rewritten to use
9
        or1k_analyse_inst functions.
10
        * or1k_tdep.h : #define
11
        added.
12
 
13
2010-06-10  Jeremy Bennett  
14
 
15
        * eval.c (evaluate_subexp_standard): Initialize subscript_array,
16
        to avoid picky compiler complaints.
17
        * or1k-jtag.c (jp1_ll_read_jp1): Initialize data, to avoid picky
18
        compiler complaints.
19
 
20 24 jeremybenn
2008-11-08  Jeremy Bennett  
21 146 jeremybenn
 
22 24 jeremybenn
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr): Moved here from
23
        remote-or1k.c and made local to this file. Rewritten to use
24
        commands via the target remote command (to_rcmd) function.
25
        * or1k-tdep.c (or1k_spr_command). Invalidates register cache when
26
        SPR is written.
27
        * or1k-tdep.h: or1k_read_spr and Or1k_write_spr are removed as
28
        global functions.
29
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr). Functions removed
30
        and made local to or1k-tdep.c. All or1k-tdep.c references to these
31
        functions changed to use or1k_jtag_read_spr and
32
        or1k_jtag_write_spr (for which these were only wrappers).
33
        * or1k-tdep.c (or1k_rcmd): Function added to process SPR access
34
        requests.
35
 
36 146 jeremybenn
2008-10-23  Jeremy Bennett  
37
 
38 24 jeremybenn
        * or1k-tdep.h, or1k-tdep.c: Extend the number of registers to
39
        include the PPC as well as the NPC
40
 
41
2008-08-13  Jeremy Bennett  
42
 
43
        * or1k-tdep.c, or1k-tdep.h, remote-or1k.c: Numerous bug fixes
44
        * or1k-jtag.c (or1k_jtag_read_mem, or1k_jtag_write_mem): Problems
45
        with small data without alignment fixed.
46
        * doc/or1k.texinfo: Small changes to bring in to line with bug
47
        fixes.
48
        * doc/gdb.texinfo: Sections relating to OpenRISC 1000 rewritten
49
        * opcodes/or32-dis.c: Signed offsets reinstated. Symbolic branch
50
        targets added.
51
        * opcodes/or32-opc.c: l.nop immediate arg made unsigned
52
        * gdb/breakpoint.c (bpstat_stop_status): The test to disallow a
53
        read watchpoint if the value had changed was unreliable and has
54
        been deleted. Trust the HW on this one.
55 146 jeremybenn
 
56 24 jeremybenn
2008-07-30  Jeremy Bennett  
57
 
58
        * NEWS: Details of OpenRISC 1000 port
59
        * or1k-tdep.c: New file, based on the OpenCores 5.3 port
60
        * or1k-tdep.h: New file, based on the OpenCores 5.3 port
61
        * or1k-jtag.c: New file, based on the OpenCores 5.3 port
62
        * or1k-jtag.h: New file, based on the OpenCores 5.3 port
63
        * remote-or1k.c: New file, based on the OpenCores 5.3 port
64
        * configure.tgt: Updated description of OpenRISC 1000 files
65
        * bfd/config.bfd: or32-*-*linux* added as match for
66
        targ_defvec=bfd_elf32_or32_big_vec
67
        * doc/or1k.texinfo: New file: Documentation of the OpenRISC 1000
68
        * doc/Makefile.in: Added OpenRISC 1000 document
69 146 jeremybenn
 
70 24 jeremybenn
2008-03-27  Joel Brobecker  
71
 
72
        * NEWS: Replace "Changes since GDB 6.7" into changes in GDB 6.8".
73
 
74
2008-03-27  Joel Brobecker  
75
 
76
        * README: Update GDB version number to 6.8.
77
        * version.in: Likewise.
78
 
79
2008-03-21  Thomas Mittelstaedt    (tiny change)
80
 
81
        * aix-thread.c (pdc_read_regs): Fix compiler warning.
82
        (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
83
        (store_regs_kernel_thread): Likewise.
84
 
85
2008-03-17  Daniel Jacobowitz  
86
 
87
        * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
88
        * symmisc.c (dump_symtab_1): Likewise.
89
        * wrapper.c (gdb_value_struct_elt): Likewise.
90
 
91
2008-03-17  Nick Hudson  
92
 
93
        * Makefile.in (amd64nbsd-nat.o): New dependency.
94
        * amd64nbsd-nat.c: Include "nbsd-nat.h".
95
        (_initialize_amd64nbsd_nat): Update target vector to use
96
        nbsd_pid_to_exec_file.
97
        * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
98
 
99
2008-03-13  Joel Brobecker  
100
 
101
        * version.in: Set version to 6.7.90.20080313-cvs.
102
 
103
2008-03-13  Joel Brobecker  
104
 
105
        GDB 6.7.90 released.
106
 
107
2008-03-13  Joel Brobecker  
108
 
109
        * version.in: Set version to 6.7.90.
110
 
111
2008-03-13  Joel Brobecker  
112
 
113
        * README: Update GDB version number to 6.7.90.
114
 
115
2008-03-12  Pedro Alves  
116
 
117
        * thread.c (add_thread): Use printf_unfiltered to print.
118
 
119
2008-03-12  Joel Brobecker  
120
 
121
        * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
122
        that is true only on x86-solaris and x86_64-solaris.
123
        * procfs.c: Likewise. Move procfs_find_LDT_entry up together
124
        with proc_get_LDT_entry.
125
 
126
2008-03-10  Matt Rice  
127
 
128
        * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
129
 
130
2008-03-04  Daniel Jacobowitz  
131
 
132
        * frame.c (reinit_frame_cache): Only annotate if frames were
133
        previously valid.
134
 
135
2008-03-04  Greg Law  
136
 
137
        * regcache.c (registers_changed): Call reinit_frame_cache.
138
 
139
2008-03-04  Thiago Jung Bauermann  
140
 
141
        * amd64-tdep.c (amd64_classify): Add support for decimal float
142
        types.
143
        * i386-tdep.c (i386_return_value): Make 128-bit decimal float
144
        use the struct return convention.
145
 
146
2008-02-29  Joel Brobecker  
147
 
148
        GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
149
        * version.in: Bump version to 6.7.90.20080226-cvs.
150
 
151
2008-02-26  Nick Roberts  
152
 
153
        * breakpoint.c (print_one_breakpoint_location): Revert Enb field
154
        to old format.  Discard breakpoint address if shared library is
155
        unloaded.
156
        (breakpoint_1): Adjust formatting of table header accordingly.
157
 
158
2008-02-25  Vladimir Prus  
159
 
160
       * remote.c (remote_get_threadlist): If the response
161
       is empty, don't try to parse it.
162
 
163
2008-02-23  Vladimir Prus  
164
 
165
        Unbreak 'target async'.
166
        * serial.c (serial_async): Set the
167
        handler function before enabling async
168
        mode.
169
 
170
2008-02-22  Daniel Jacobowitz  
171
 
172
        * solib-svr4.c (enable_break): Convert r_brk to a code address.
173
 
174
2008-02-21  Pedro Alves  
175
 
176
        * remote.c (extended_remote_attach_1): Set attach_flag.
177
        (extended_remote_create_inferior_1): Clear attach_flag.
178
 
179
2008-02-20  Daniel Jacobowitz  
180
 
181
        * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
182
        r_brk_offset.
183
        (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
184
        * solib-svr4.c (solib_svr4_r_brk): New.
185
        (open_symbol_file_object, svr4_current_sos): Always check the
186
        debug base.
187
        (svr4_fetch_objfile_link_map): Do not set debug_base.
188
        (enable_break): Use r_brk if it is set.
189
        (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
190
        (svr4_lp64_fetch_link_map_offsets): Likewise.
191
        * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
192
 
193
2008-02-20  Markus Deuling  
194
            Mark Kettenis  
195
 
196
        * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
197
        trad_frame_saved_reg.
198
        (trad-frame.h): New include.
199
 
200
        (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
201
        instead of frame_obstack_zalloc.
202
        (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
203
 
204
        * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
205
 
206
2008-02-20  Markus Deuling  
207
 
208
        * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
209
        from disassemble_info instead of gdbarch_byte_order.
210
 
211
        * mips-tdep.c (gdb_print_insn_mips): Likewise.
212
        * arm-tdep.c (gdb_print_insn_arm): Likewise.
213
 
214
2008-02-20  Markus Deuling  
215
 
216
        * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
217
        gdbarch as parameter.
218
 
219
        * gdbarch.{c,h}: Regenerate.
220
 
221
        * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
222
        parameter.
223
        * mem-break.c (default_memory_insert_breakpoint)
224
        (default_memory_remove_breakpoint): Likewise.
225
        * target.h (default_memory_remove_breakpoint)
226
        (default_memory_insert_breakpoint): Likewise.
227
 
228
        * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
229
        parameter. Replace current_gdbarch by gdbarch.
230
        * m32r-tdep.c (m32r_memory_insert_breakpoint)
231
        (m32r_memory_remove_breakpoint): Likewise.
232
 
233
2008-02-19  Daniel Jacobowitz  
234
 
235
        * MAINTAINERS: Add Vladimir Prus as MI maintainer.
236
 
237
2008-02-19  Joel Brobecker  
238
 
239
        * NEWS: Add entry describing Add support improvements.
240
 
241
2008-02-18  Markus Deuling  
242
 
243
        * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
244
        M68K_FP0_REGNUM.
245
 
246
2008-02-18  Markus Deuling  
247
 
248
        * sentinel-frame.c (sentinel_frame_prev_register): Do not call
249
        register_offset_hack anymore.
250
 
251
        * regcache.{c,h} (register_offset_hack): Remove.
252
 
253
2008-02-18  Markus Deuling  
254
 
255
        * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
256
 
257
        * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
258
        current_gdbarch by gdbarch.
259
        (hppa64_hpux_find_global_pointer): Likewise.
260
        * hppa-tdep.c (hppa_find_global_pointer): Likewise.
261
        (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
262
        find_global_pointer.
263
 
264
        * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
265
        parameter.
266
        * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
267
 
268
        * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
269
        of gdbarch_num_regs.
270
 
271
        * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
272
        replace current_gdbarch by gdbarch.
273
        (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
274
 
275
2008-02-18  Markus Deuling  
276
 
277
        * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
278
        and replace current_gdbarch by gdbarch.
279
 
280
        (store_register): Update call for exec_one_dummy_insn.
281
        (fetch_register, store_register): Update call of regmap.
282
 
283
        * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
284
        parameter and replace current_gdbarch by gdbarch.
285
 
286
        (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
287
        the current architecture. Update call for getregs_supplies and
288
        getfpregs_supplies.
289
        (ppcnbsd_fetch_inferior_registers): Likewise.
290
 
291
        * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
292
        replace current_gdbarch by gdbarch.
293
        (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
294
        get_regcache_arch to get at the current architecture. Update call for
295
        getfpregs_supplies.
296
 
297
2008-02-18  Markus Deuling  
298
 
299
        * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
300
        variables.
301
 
302
2008-02-15  Markus Deuling  
303
 
304
        * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
305
 
306
2008-02-14  Vladimir Prus  
307
 
308
        * NEWS: Mention pending breakpints in MI.
309
 
310
2008-02-14  Markus Deuling  
311
 
312
        * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
313
 
314
2008-02-13  Markus Deuling  
315
 
316
        Add script to build and test GDB using enable-targets=all.
317
 
318
        * gdb_buildall.sh: New file.
319
 
320
2008-02-11  Maxim Grigoriev  
321
 
322
        * NEWS (New native configurations): Xtensa GNU/Linux.
323
        (New targets): Xtensa GNU/Linux.
324
        * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
325
        xtensa-linux-tdep.o
326
        (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
327
        (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
328
        * configure.tgt (xtensa*-*-linux*): New entry.
329
        * xtensa-config.c (xtensa_tdep): New variable.
330
        (xtensa_config_byte_order, xtensa_config_tdep): Removed.
331
        (rmap): Change format based on new macro XTREG.
332
        (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
333
        * xtensa-linux-nat.c: New.
334
        * xtensa-linux-tdep.c: New.
335
        * xtensa-xtregs.c: New.
336
        * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
337
        (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
338
        (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
339
        (xtensa_register_t): New field coprocessor.
340
        (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
341
        * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
342
        (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
343
        Update to handle privileged registers.
344
        (xtensa_supply_gregset) Remove exccause and excvaddr registers.
345
        (xtensa_push_dummy_call): Set windowstart register correctly.
346
        (call0_analyze_prologue): Initialize xtensa_default_isa.
347
        (xtensa_derive_tdep): New.
348
        (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
349
        xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
350
        Call xtensa_derive_tdep().
351
        * config/xtensa/linux.mh: New.
352
        * regformats/reg-xtensa.dat: New.
353
 
354
2008-02-09  Aleksandar Ristovski    (tiny change)
355
 
356
        * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
357
        (filenames.h): New include.
358
        * Makefile.in (corelow.o): Add dependency for filenames.h.
359
 
360
2008-02-08  Doug Evans  
361
 
362
        * source.c (find_and_open_source): Always rewrite absolute filenames.
363
 
364
2008-02-07  Doug Evans  
365
 
366
        * breakpoint.c: #include "hashtab.h".
367
        (ambiguous_names_p): New fn.
368
        (update_breakpoint_locations): When restoring bp enable status, don't
369
        compare function names if any functions have same name.
370
        * Makefile.in (breakpoint.o): Add hashtab.h dependency.
371
 
372
2008-02-07  Joel Brobecker  
373
 
374
        * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
375
        instead of just a VEC*. Update use of SV.
376
        (ada_make_symbol_completion_list): Update symbol_completion_add calls.
377
 
378
2007-02-07  Joel Brobecker  
379
 
380
        * NEWS: Put all new commands since gdb-6.7 together.
381
 
382
2007-02-07  Joel Brobecker  
383
 
384
        * ada-lang.c: #include "vec.h".
385
        (struct string_vector, new_string_vector, string_vector_append):
386
        Delete.
387
        (char_ptr): New typedef.
388
        (DEF_VEC_P (char_ptr)): New VEC type.
389
        (symbol_completion_add): Update profile to take the new VEC type
390
        instead of the old string_vector structure. Update code accordingly.
391
        (ada_make_symbol_completion_list): Use the new VEC type instead of
392
        the old string_vector structure, and update the code accordingly.
393
        * Makefile.in (ada-lang.o): Add dependency on vec.h.
394
 
395
2008-02-06  Pierre Muller  
396
 
397
        * p-exp.y: Set current_type in missing places.
398
        (leftdiv_is_integer): New static variable.
399
        Typecast right operand of BINOP_DIV to long_double if both operands
400
        are integers.
401
 
402
2008-02-06  Maciej W. Rozycki  
403
 
404
        * remote-mips.c (set_breakpoint): Rename to...
405
        (mips_set_breakpoint): ... this.
406
        (clear_breakpoint): Rename to...
407
        (mips_clear_breakpoint): ... this.
408
        (common_breakpoint): Rename to...
409
        (mips_common_breakpoint): ... this.
410
        (check_lsi_error): Rename to...
411
        (mips_check_lsi_error): ... this.
412
 
413
2007-02-05  Joel Brobecker  
414
 
415
        * language.h (struct language_defn): Add new field
416
        la_make_symbol_completion_list.
417
        * symtab.c (default_make_symbol_completion_list): Renames
418
        make_symbol_completion_list.
419
        (make_symbol_completion_list): New function.
420
        * symtab.h (default_make_symbol_completion_list): Add declaration.
421
        * langauge.c (unknown_language): Set la_make_symbol_completion_list.
422
        (auto_language, local_language): Likewise.
423
        * objc-lang.c (objc_language_defn): Likewise.
424
        * scm-lang.c (scm_language_defn): Likewise.
425
        * m2-lang.c (m2_language_defn): Likewise.
426
        * f-lang.c (f_language_defn): Likewise.
427
        * jv-lang.c (java_language_defn): Likewise.
428
        * p-lang.c (pascal_language_defn): Likewise.
429
        * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
430
        (minimal_language_defn): Likewise.
431
        * ada-lang.c (struct string_vector): New structure.
432
        (new_string_vector, string_vector_append, ada_unqualified_name)
433
        (add_angle_brackets, symbol_completion_match, symbol_completion_add)
434
        (ada_make_symbol_completion_list): New functions.
435
        (ada_language_defn): Set la_make_symbol_completion_list.
436
        * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
437
        this function is static.
438
 
439
2008-02-05  Kevin Buettner  
440
 
441
        * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
442
        to account for call site optimizations.
443
 
444
2008-02-05  Andrzej Zaborowski  
445
 
446
        * tracepoint.c (read_actions): Handle end-of-text indicator
447
        in action list properly.  (Committed by Jim Blandy)
448
 
449
2008-02-05  Jim Blandy  
450
 
451
        * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
452
        pseudoregister, not an internal error.
453
        Reported by: Andrzej Zaborowski
454
 
455
2008-02-04  Vladimir Prus  
456
 
457
        * varobj.c (c_value_of_variable): Use xstrdup.
458
 
459
2008-02-04  Vladimir Prus  
460
 
461
        Update stored rendition of varobj value when format changes.
462
        * varobj.c (varobj_set_display_format): Recomputed
463
        print_value.
464
        (c_value_of_variable): Return print_value.
465
 
466
2008-02-03  Doug Evans  
467
 
468
        * eval.c (evaluate_subexp_standard): Fix type of result of mixed
469
        integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
470
        * valops.c (value_one): New function.
471
        * value.h (value_one): Declare.
472
 
473
        Fix argument promotion for binary arithmetic ops for C.
474
        * valarith.c (unop_result_type): New fn.
475
        (binop_result_type): New fn.
476
        (value_binop): Move result type computation to binop_result_type.
477
        (value_pos, value_neg, value_complement): Move result type
478
        computation to unop_result_type.
479
 
480
        PR 2384
481
        * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
482
        Return basetype, fieldno if found.  All callers updated.
483
        Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
484
        objfile.
485
        * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
486
        * symfile.h (fill_in_vptr_fieldno): Delete.
487
 
488
2008-02-02  Doug Evans  
489
 
490
        * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
491
 
492
        * typeprint.c (*): Whitespace cleanup.
493
 
494
2008-02-02  Mark Kettenis  
495
            Luis Machado  
496
            Thiago Jung Bauermann  
497
 
498
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
499
        don't fit into registerson the stack the way GCC does.
500
 
501
2008-02-01  Joel Brobecker  
502
 
503
        * symtab.c (symbol_set_names): Do not add an entry in the demangling
504
        hash table for Ada symbols. Just store the linkage name as is,
505
        and leave the demangled_name as NULL.
506
 
507
2007-02-01  Joel Brobecker  
508
 
509
        * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
510
        in the global scope.
511
        (new_symbol): Likewise.
512
 
513
2008-02-01  Vladimir Prus  
514
 
515
        * breakpoint.c (break_command_1): Return void.
516
        (break_command_really): Return void.  Rethrow
517
        exceptions instead of returning.
518
        (gdb_breakpoint): Remove the error_message parameter.
519
        Return void.  Rename to set_breakpoint.
520
        * gdb.h (gdb_breakpoint): Rename and move to...
521
        * breakpoint.h (set_breakpoint): ...here.
522
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
523
        event hooks even if exception is thrown.  Adjust to
524
        gdb_breakpoint interface changes.
525
 
526
 
527
2008-02-01  Thiago Jung Bauermann  
528
 
529
        * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
530
        float in both first and second word in the doubleword, to support
531
        old and new ABIs.
532
 
533
2008-02-01  Vladimir Prus  
534
 
535
        Properly rethrow exception.  This fixes errors
536
        about non-existent functions for -break-insert.
537
        * breakpoint.c (break_command_really): Use throw_exception
538
        for rethrowing.  If rethrowing, don't print the exception.
539
 
540
2008-01-31  Thiago Jung Bauermann  
541
 
542
        * NEWS: Mention Decimal Floating Point support.
543
 
544
2008-01-31  Joel Brobecker  
545
 
546
        * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
547
        value type to builtin_type_void_func_ptr.
548
 
549
2008-01-31  Andreas Krebbel  
550
 
551
        * s390-tdep.c (is_float_singleton, is_float_like,
552
        alignment_of, s390_return_value): Make checks for
553
        TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
554
 
555
2008-01-31  Luis Machado  
556
            Thiago Jung Bauermann  
557
 
558
        * infcmd.c (default_print_registers_info): Also print hex
559
        raw contents for TYPE_CODE_DECFLOAT registers.
560
        * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
561
        * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
562
        (rs6000_register_name): Add support for DFP pseudo-registers.
563
        (rs6000_pseudo_register_type): Likewise.
564
        rs6000_pseudo_register_reggroup_p): Likewise.
565
        (ppc_pseudo_register_read): New function.
566
        (ppc_pseudo_register_write): Likewise.
567
        (rs6000_pseudo_register_read): Likewise.
568
        (rs6000_pseudo_register_write): Likewise.
569
        (e500_pseudo_register_read): Move checks to
570
        rs6000_pseudo_register_read.
571
        (e500_pseudo_register_write): Move checks to
572
        rs6000_pseudo_register_write.
573
        (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
574
        rs6000_pseudo_register_read and rs6000_pseudo_register_write
575
        in gdbarch if SPE or DFP is available.  Adjust gdbarch's
576
        num_pseudo_regs to account for DFP pseudo regs.
577
 
578
2008-01-31  Thiago Jung Bauermann  
579
 
580
        * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
581
        * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
582
        (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
583
        rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
584
        e500_pseudo_register_read, e500_pseudo_register_write): Use
585
        IS_SPE_PSEUDOREG macro.
586
        (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
587
        (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
588
        Remove initialization of tdep->ppc_ev31_regnum.
589
 
590
2008-01-08  Paul Hilfinger  
591
 
592
        * printcmd.c (print_formatted): Handle references as for unformatted
593
        prints.
594
 
595
2008-01-30  Joel Brobecker  
596
 
597
        * eval.c (evaluate_subexp_standard): Add handling of user
598
        registers when in EVAL_AVOID_SIDE_EFFECTS mode.
599
 
600
2008-01-30  Pierre Muller  
601
 
602
        * eval.c (evaluate_subexp_standard): Support
603
        BINOP_INTDIV opcode.
604
 
605
2008-01-30  Paul N. Hilfinger  
606
 
607
        * valarith.c (value_binop): Add floating-point BINOP_MIN and
608
        BINOP_MAX cases.
609
        For BINOP_EXP, use length and signedness of left operand only for
610
        result, as for shifts.
611
        For integral operands to BINOP_EXP, use new integer_pow and
612
        uinteger_pow functions so as to get full range of results.
613
        (integer_pow): New function.
614
        (uinteger_pow): New function.
615
 
616
2008-01-30  Vladimir Prus  
617
 
618
        Use vector for varobj_list_children interface.
619
        * gdb/varobj.c (varobj_list_children): Return vector
620
        of varobjs.
621
        * gdb/varobj.h (varobj_list_children): Adjust
622
        prototype.
623
        (varobj_p): Declare.  Declare vector thereof.
624
        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
625
        for varobj_list_children change.
626
        * Makefile.in (varobj_h): Update dependencies.
627
 
628
2008-01-30  Thiago Jung Bauermann  
629
 
630
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
631
        TYPE_CODE_DECFLOAT arguments.
632
        (ppc64_sysv_abi_push_dummy_call) Likewise.
633
        (get_decimal_float_return_value): New function.
634
        (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
635
        values by calling get_decimal_float_return_value.
636
        (ppc64_sysv_abi_return_value): Likewise.
637
 
638
2008-01-30  Nick Roberts  
639
 
640
        * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):  Add field
641
        for preprocessor macro information.  Formatting changes.
642
 
643
2008-01-29  Daniel Jacobowitz  
644
 
645
        * remote.c (struct remote_state): Add cached_wait_status.
646
        (remote_exec_file): New variable.
647
        (PACKET_vAttach, PACKET_vRun): New constants.
648
        (extended_remote_restart): Do not query for status.
649
        (struct start_remote_args): New.
650
        (remote_start_remote): Take it as a second argument.  Check
651
        whether the target is running.  Issue an error for non-running
652
        non-extended targets.  Cache the wait status.  Set inferior_ptid
653
        here.
654
        (remote_open_1): Prompt to disconnect non-running targets.  Make
655
        sure the target is marked running.  Do not set inferior_ptid here.
656
        Update call to remote_start_remote.  Do not call remote_check_symbols
657
        if the target is not running.
658
        (remote_detach_1): Rename from remote_detach.  Take an EXTENDED
659
        argument.  Handle a non-running target.
660
        (remote_detach): Use it.
661
        (extended_remote_detach): New.
662
        (remote_disconnect): Fix typo.  Use remoute_mourn_1.
663
        (extended_remote_attach_1, extended_remote_attach)
664
        (extended_async_remote_attach): New.
665
        (remote_vcont_resume): Remove unused variable.
666
        (remote_wait, remote_async_wait): Use any cached wait status.
667
        (putpkt_binary, getpkt): Clear any cached wait status.
668
        (extended_remoute_mourn_1): New.
669
        (extended_remote_mourn): Use it.
670
        (extended_async_remote_mourn, extended_remote_run): New.
671
        (extended_remote_create_inferior_1): New.
672
        (extended_remote_create_inferior): Use it.
673
        (extended_remote_async_create_inferior): Likewise.
674
        (remote_xfer_partial): Skip for non-executing targets.
675
        (init_extended_remote_ops): Set to_detach and to_attach.
676
        (init_extended_async_remote_ops): Likewise.  Use
677
        extended_async_remote_mourn.
678
        (_initialize_remote): Register vAttach, vRun, and
679
        set remote exec-file.
680
        * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
681
 
682
2008-01-29  Daniel Jacobowitz  
683
 
684
        * Makefile.in (symfile.o): Update.
685
        * NEWS: Mention exec tracing support.
686
        * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
687
        exec events.
688
        * infcmd.c (kill_if_already_running, detach_command)
689
        (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
690
        * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
691
        (follow_exec): Do not check may_follow_exec.  Do not mourn and push
692
        targets.  Apply the sysroot path to the loaded executable.  Use
693
        no_shared_libraries.
694
        * linux-nat.c (linux_child_follow_fork): Print fork following
695
        messages if verbose.
696
        (kill_wait_callback): Kill again before waiting a second time.
697
        * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
698
        no_shared_libraries.
699
 
700
2008-01-29  Joel Brobecker  
701
 
702
        * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
703
 
704
2008-01-29  Joel Brobecker  
705
 
706
        * nto-tdep.h: Remove #include "defs.h".
707
        * nto-tdep.c: Add #include "defs.h".
708
        * Makefile.in (nto_tdep_h): Update dependencies.
709
        (nto-tdep.o): Likewise.
710
 
711
2008-01-29  Joel Brobecker  
712
 
713
        * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
714
        and use it.
715
        (proceed, start_remote): Update call to wait_for_inferior.
716
        * inferior.h (wait_for_inferior): Update declaration.
717
        * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
718
        solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
719
        * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
720
        TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
721
 
722
2008-01-29  Aleksandar Ristovski  
723
 
724
        * varobj (adjust_value_for_child_access): Added checking for
725
        returned value from gdb_value_ind.
726
        (c_describe_child): Likewise.
727
        (cplus_describe_child): Fixed a typo.
728
 
729
2008-01-29  Jim Blandy  
730
 
731
        * MAINTAINERS: Update my info.
732
 
733
2008-01-29  Vladimir Prus  
734
 
735
        Use multiple locations for hardware watchpoints.
736
        This eliminates the need to traverse value chain, doing
737
        various checks, in three different places.
738
 
739
        * breakpoint.h (struct bp_location): New fields
740
        lengths and watchpoint_type.
741
        (struct breakpoint): Remove the val_chain field.
742
        * breakpoint.c (is_hardware_watchpoint): New.
743
        (free_valchain): Remove.
744
        (update_watchpoint): New.
745
        (insert_bp_location): For hardware watchpoint, just
746
        directly insert it.
747
        (insert_breakpoints): Call update_watchpoint_locations
748
        on all watchpoints.  If we have failed to insert
749
        any location of a hardware watchpoint, remove all inserted
750
        locations.
751
        (remove_breakpoint): For hardware watchpoints, directly
752
        remove location.
753
        (watchpoints_triggered): Iterate over locations.
754
        (bpstat_stop_status): Use only first location of
755
        a resource watchpoint.
756
        (delete_breakpoint): Don't call free_valchain.
757
        (print_one_breakpoint): Don't print all
758
        locations for watchpoints.
759
        (breakpoint_re_set_one): Use update_watchpoint for
760
        watchpoints.
761
 
762
2008-01-29  Vladimir Prus  
763
 
764
        Don't reset watchpoint block on solib load.
765
 
766
        * breakpoint.c (insert_bp_location): For watchpoints,
767
        recompute condition.
768
        (breakpoint_re_set_one): Instead of recomputing value
769
        and condition for watchpoints, just reset value and
770
        let insert_breakpoints/insert_bp_location recompute it.
771
        Don't do anything about disabled watchpoint.
772
 
773
2008-01-29  Pierre Muller  
774
 
775
        * valarith.c (value_binop): Handle unsigned integer
776
        division by zero.
777
 
778
2008-01-28  Kevin Buettner  
779
 
780
        * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
781
        instruction pattern that appears frequently in position
782
        independent code.  Fix bug in code which looks for "fmov" and
783
        backtracks if no "fmov" is found.
784
 
785
2008-01-28  Doug Evans  
786
 
787
        * dbxread.c (read_dbx_symtab): Fix indentation.
788
        Reformat comments to 80 columns.
789
        Move local var def closer to only use.
790
 
791
2008-01-28  Daniel Jacobowitz  
792
 
793
        * fork-child.c (SHELL_FILE): Remove #ifndef.
794
        (fork_inferior): Remove SHELL_COMMAND_CONCAT.
795
 
796
2008-01-25  Pierre Muller  
797
 
798
        * i386-tdep.c (i386_skip_noop): New function.
799
        (i386_analyze_prologue): Call i386_skip_noop function.
800
 
801
2008-01-24  Michael Snyder  
802
 
803
        * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
804
        * win32-nat.c (win32_xfer_partial): Ditto.
805
        * target.c (default_xfer_partial): Minor whitespace adjustment.
806
 
807
2008-01-24  Pedro Alves  
808
 
809
        * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
810
        strip bit 1 even if pc doesn't point to thumb code.
811
 
812
2008-01-23  Daniel Jacobowitz  
813
 
814
        * remote.c (remote_wait): Handle SIGINT between packets.
815
        (remote_async_wait): Likewise.
816
 
817
2008-01-23  Vladimir Prus  
818
            Chris Demetriou  
819
 
820
        * thread.c (add_thread_silent): Renamed
821
        from add_thread.
822
        (print_thread_events): New variable definition.
823
        (show_print_thread_events): New function.
824
        (_initialize_thread): Add "set print thread-events" and
825
        "show print thread-events" commands.
826
        (add_thread): Announce new thread.
827
        * gdbthread.h (add_thread_silent): Declare.
828
        (print_thread_events): New variable declaration.
829
        * inf-ttrace.c (inf_ttrace_wait): Don't
830
        inform about new thread, as add_thread is always
831
        called too, and will take care of that.
832
        * infrun.c (handle_inferior_event): Likewise.
833
        * procfs.c (procfs_wait): Likewise.
834
        * remote.c (remote_currthread): Likewise.
835
        * sol-thread.c (sol_thread_wait): Likewise.
836
        * win32-nat.c (get_win32_debug_event): Likewise.
837
        * linux-thread-db.c (attach_thread): Likewise.
838
        Remove the verbose parameter.
839
        (check_event): Make detach_thread be verbose
840
        only if print_thread_events is set.
841
        * linux-nat.c (lin_lwp_attach_lwp): Don't inform
842
        about new thread.  This is called only from
843
        linux-thread-db.c:attach_thread, which will take care.
844
        Remove the verbose parameter.
845
        * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
846
 
847
2008-01-23  Nick Roberts  
848
 
849
        * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
850
 
851
2008-01-22  Vladimir Prus  
852
 
853
        * breakpoint.c (break_command_really): New parameter
854
        ignore_count.
855
        (break_command_1): Pass 0 as
856
        ignore_count to break_command_really.
857
        (gdb_breakpoint): Pass ignore_count to
858
        break_command_really.
859
 
860
2008-01-21  Kevin Buettner  
861
 
862
        * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
863
        sigcontext struct via pointer.
864
        (struct sigframe comment): Update to show new field `psc'.
865
 
866
2008-01-21  Vladimir Prus  
867
 
868
        * infrun.c (handle_inferior_event): If
869
        we failed to remove breakpoints, error,
870
        don't try to increment PC by hand.
871
 
872
2008-01-18  Nick Hudson  
873
 
874
        Add NetBSD/hppa target and host support.
875
 
876
        * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
877
        (hppabsd_gregset): Move to ...
878
        (hppabsd_regset_from_core_section): Rename
879
        hppaobsd_regset_from_core_section and move to ...
880
        (hppabsd_find_global_pointer): Update comment.
881
        (hppabsd_init_abi): Make global. Do not register
882
        hppabsd_regset_from_core_section.
883
        (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
884
        move to ...
885
        (_initialize_hppabsd_tdep): Move to ...
886
        * hppaobsd-tdep.c: ... here. New file.
887
        * hppnbsd-tdep.c: New file.
888
        * hppnbsd-nat.c: New file.
889
        * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
890
        (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
891
        (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
892
        (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
893
        * configure.host (hppa*-*-netbsd*): New entry.
894
        * configure.tgt (hppa*-*-netbsd*): New entry.
895
        (hppa*-*-openbsd*): Update.
896
        * NEWS (New native configuration): Mention NetBSD/hppa.
897
        (New targets): Mention NetBSD/hppa.
898
 
899
2008-01-18  Markus Deuling  
900
 
901
        * gdbarch.sh (function_list): Add new property bits_big_endian to
902
        gdbarch structure.
903
        * gdbarch.{c,h}: Regenerate.
904
 
905
        * value.c (struct value): Replace BITS_BIG_ENDIAN by
906
        gdbarch_bits_big_endian (comment).
907
        (unpack_field_as_long, modify_field): Likewise.
908
        * value.h: Likewise (comment).
909
        * valops.c (value_slice): Likewise.
910
        * valarith.c (value_subscript, value_bit_index): Likewise.
911
        * gdbtypes.h (field): Likewise (comment).
912
        * eval.c (evaluate_subexp_standard): Likewise.
913
        * dwarf2read.c (dwarf2_add_field): Likewise.
914
        * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
915
        (move_bits, ada_value_assign, value_assign_to_component): Likewise.
916
 
917
        * defs.h (BITS_BIG_ENDIAN): Remove.
918
 
919
2008-01-18  Markus Deuling  
920
 
921
        * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
922
        function calls.
923
        * m2-exp.y (yylex): Likewise.
924
        * objc-exp.y (yylex): Likewise.
925
 
926
        * defs.h (DEPRECATED_STREQN): Remove.
927
 
928
2008-01-17  H.J. Lu  
929
 
930
        * MAINTAINERS: Update my email address.
931
 
932
2008-01-17  Jim Blandy  
933
 
934
        * README: Mention gdbserver/README.
935
 
936
2008-01-17  Pierre Muller  
937
 
938
        * valarith.c (value_binop): Handle BINOP_INTDIV
939
        for unsigned and signed integers.
940
 
941
2008-01-17  Ulrich Weigand  
942
 
943
        * s390-tdep.c (s390_gdbarch_init): Set default long double
944
        type to 128-bit IEEE quad.
945
 
946
2008-01-17  Joel Brobecker  
947
 
948
        * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
949
 
950
2008-01-16  Mark Kettenis  
951
 
952
        * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
953
 
954
        * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
955
        * value.c: All callers changed.
956
 
957
2008-01-16  Markus Deuling  
958
 
959
        * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
960
        DEPRECATED_STREQ by its expression.
961
        * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
962
        * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
963
        (scan_xcoff_symtab): Likewise.
964
        * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
965
        * f-lang.c (find_common_for_function): Likewise.
966
        * objc-exp.y (parse_number): Likewise.
967
 
968
        * defs.h (DEPRECATED_STREQ): Remove.
969
 
970
2008-01-16  Markus Deuling  
971
 
972
        * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
973
        * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
974
        get_frame_arch to get at the current_architecture. Update AM33_MODE
975
        call.
976
        (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
977
        (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
978
        architecture.
979
        (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
980
 
981
2008-01-16  Markus Deuling  
982
 
983
        * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
984
        parameter.
985
        * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
986
 
987
        (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
988
        current_gdbarch by gdbarch. Update caller.
989
 
990
        * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
991
        (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
992
        the current architecture. Update calls of
993
        amd64_native_gregset_supplies_p.
994
        * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
995
        (amd64bsd_store_inferior_registers): Likewise.
996
 
997
2008-01-16  Markus Deuling  
998
 
999
        * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
1000
        Replace current_gdbarch by gdbarch. Update caller.
1001
 
1002
2008-01-16  Markus Deuling  
1003
 
1004
        * dbxread.c (repeated_header_complaint, dbx_symfile_init)
1005
        (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
1006
        (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
1007
        (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
1008
        (stabsect_build_psymtabs): Fix indentation.
1009
 
1010
2008-01-15  Michael Snyder  
1011
 
1012
        * corelow.c (core_xfer_partial): Comment, cut/paste error.
1013
 
1014
2008-01-14  Pierre Muller  
1015
 
1016
        * win32-nat.c (win32_create_inferior): Restore code calling
1017
        CloseHandle on ProcessInformation structure.
1018
 
1019
2008-01-13  Nick Hudson  
1020
 
1021
        * configure.ac: Check for void * as 3 argument of ptrace.
1022
        * configure: regenerate.
1023
 
1024
2008-01-11  Markus Deuling  
1025
 
1026
        * alpha-tdep.c (alpha_heuristic_proc_start)
1027
        (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
1028
        current_gdbarch by gdbarch.
1029
 
1030
        (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
1031
        current architecture by frame_info. Update alpha_heuristic_proc_start
1032
        call.
1033
 
1034
        (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
1035
        get_frame_arch to get at the current architecture by frame_info. Update
1036
        alpha_sigtramp_register_address call.
1037
 
1038
        * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
1039
        current_gdbarch by gdbarch. Update caller.
1040
        (convert_to_extended, convert_from_extended): Add endianess parameter
1041
        for comparison. Update caller.
1042
        (arm_extract_return_value, arm_store_return_value): Use
1043
        get_regcache_arch to get at the current architecture.
1044
 
1045
        * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
1046
        current_gdbarch by gdbarch. Update caller.
1047
        (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
1048
        gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
1049
 
1050
        * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
1051
        gdbarch as parameter. Update caller.
1052
        (h8300_init_frame_cache): Add gdbarch as parameter. Replace
1053
        current_gdbarch by gdbarch. Update caller.
1054
 
1055
        * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
1056
        update caller. Replace current_gdbarch by gdbarch.
1057
 
1058
        * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
1059
        the current architecture. Replace current_gdbarch by gdbarch.
1060
        * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1061
        (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
1062
        expression. Add gdbarch as parameter and replace current_gdbarch with
1063
        it. Update caller.
1064
        (M6811_TDEP): Remove.
1065
        (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
1066
        architecture.
1067
        (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
1068
        current_gdbarch by gdbarch. Update caller.
1069
 
1070
        * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1071
        update caller.
1072
        (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1073
        by gdbarch.
1074
 
1075
        * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1076
        caller. Relace current_gdbarch by gdbarch.
1077
        (altivec_register_p, spe_register_p): Likewise.
1078
        * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1079
        parameter.
1080
        * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1081
        altivec_register_p and spe_register_p.
1082
 
1083
        * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1084
        caller. Replace current_gdbarch by gdbarch.
1085
        (score_analyze_prologue): use get_frame_arch to get at the current
1086
        architecture.
1087
 
1088
        * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1089
        * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1090
        current_gdbarch by gdbarch. Update caller.
1091
        (sparc_frame_cache): Use get_frame_arch to get at the current
1092
        architecture.
1093
        * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1094
        sparc_analyze_prologue.
1095
 
1096
        * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1097
        parameter.
1098
 
1099
2008-01-11  Markus Deuling  
1100
 
1101
        * exec.c: #include "arch-utils.h"
1102
         (print_section_info): Use gdbarch_from_bfd to get at the
1103
        current architecture. Replace current_gdbarch. Fix indention. Replace
1104
        deprecated_print_address_numeric by paddress.
1105
        * Makefile.in (exec.o) Add dependency to arch-utils.h.
1106
 
1107
        * valprint.c (val_print_string): Replace
1108
        deprecated_print_address_numeric.
1109
        * tracepoint.c (trace_mention, scope_info): Likewise.
1110
        * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1111
        (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1112
        (maintenance_check_symtabs): Likewise.
1113
        * symfile.c (list_overlays_command): Likewise.
1114
        * stack.c (frame_info, print_block_frame_labels): Likewise.
1115
        * printcmd.c (print_address, print_address_demangle)
1116
        (address_info): Likewise.
1117
        * corefile.c (memory_error): Likewise.
1118
        * infcmd.c (jump_command): Likewise.
1119
        * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1120
        (mention, delete_breakpoint): Likewise.
1121
        * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1122
        * dwarf2read.c (dump_die): Likewise.
1123
        * ada-valprint.c (ada_val_print_1): Likewise.
1124
        * f-valprint.c (f_val_print): Likewise.
1125
        * linux-fork.c (info_forks_command): Likewise.
1126
        * m32r-com.c (m32r_load_section, m32r_load)
1127
        (m32r_upload_command): Likewise.
1128
 
1129
        * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1130
 
1131
2008-01-11  Markus Deuling  
1132
 
1133
        * gdbarch.sh (skip_prologue): Add gdbarch
1134
        as parameter.
1135
        * gdbarch.{c,h}: Regenerate.
1136
 
1137
        * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1138
        * amd64-tdep.c (amd64_skip_prologue): Likewise.
1139
        * avr-tdep.c (avr_skip_prologue): Likewise.
1140
        * cris-tdep.c (cris_skip_prologue): Likewise.
1141
        * frv-tdep.c (frv_skip_prologue): Likewise.
1142
        * h8300-tdep.c (h8300_skip_prologue): Likewise.
1143
        * hppa-tdep.c (hppa_skip_prologue): Likewise.
1144
        * i386-tdep.c (i386_skip_prologue): Likewise.
1145
        * ia64-tdep.c (ia64_skip_prologue): Likewise.
1146
        * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1147
        * m32r-tdep.c (m32r_skip_prologue): Likewise.
1148
        * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1149
        * m68k-tdep.c (m68k_skip_prologue): Likewise.
1150
        * m88k-tdep.c (m88k_skip_prologue): Likewise.
1151
        * mep-tdep.c (mep_skip_prologue): Likewise.
1152
        * mips-tdep.c (mips_skip_prologue): Likewise.
1153
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1154
        * mt-tdep.c (mt_skip_prologue): Likewise.
1155
        * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1156
        * score-tdep.c (score_skip_prologue): Likewise.
1157
        * sh64-tdep.c (sh64_skip_prologue): Likewise.
1158
        * sh-tdep.c (sh_skip_prologue): Likewise.
1159
        * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1160
        * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1161
        * spu-tdep.c (spu_skip_prologue): Likewise.
1162
        * v850-tdep.c (v850_skip_prologue): Likewise.
1163
        * vax-tdep.c (vax_skip_prologue): Likewise.
1164
        * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1165
        * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1166
 
1167
        * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1168
        current_gdbarch by gdbarch.
1169
        * m32c-tdep.c (m32c_skip_prologue): Likewise.
1170
        * s390-tdep.c (s390_skip_prologue): Likewise.
1171
 
1172
2008-01-10  Doug Evans  
1173
 
1174
        * defs.h (struct continuation_arg): Fix typo in comment.
1175
        * target.c (target_translate_tls_address): Fix comment spelling error.
1176
 
1177
2008-01-09  Thiago Jung Bauermann  
1178
 
1179
        * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1180
        (DOUBLEST_SCAN_FORMAT): Likewise.
1181
        * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1182
        * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1183
        * c-exp.y (parse_number): Likewise.
1184
        * jv-exp.y (parse_number): Likewise.
1185
        * objc-exp.y (parse_number): Likewise.
1186
        * p-exp.y (parse_number): Likewise.
1187
 
1188
2008-01-09  Joel Brobecker  
1189
 
1190
        * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1191
        (check_typedef): Likewise.
1192
 
1193
2008-01-09  Luis Machado  
1194
 
1195
        * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1196
        seen_double_big_d, treat the new H, D, and DD modifiers as length
1197
        modifiers.
1198
 
1199
2008-01-08  Joel Brobecker  
1200
 
1201
        * dwarf2read.c (read_enumeration_type): Add comment.
1202
 
1203
2008-01-08  Thiago Jung Bauermann  
1204
 
1205
        * config.in: Regenerate.
1206
 
1207
2008-01-08  Joel Brobecker  
1208
 
1209
        * ada-lang.c (ada_convert_actual): Renames convert_actual.
1210
        Make non-static.
1211
        (ada_convert_actuals): Delete.
1212
        * ada-lang.h (ada_convert_actual): Add declaration.
1213
        (ada_convert_actuals): Remove declaration.
1214
        * infcall.c: #include "ada-lang.h".
1215
        (value_arg_coerce): Add new parameter sp.  Update function
1216
        documetnation.  Add handling of Ada function call parameters.
1217
        * Makefile.in (infcall.o): Update dependencies.
1218
 
1219
2008-01-08  Paul Hilfinger  
1220
 
1221
        * ada-lang.c (ensure_lval): Fix value lval kind.
1222
        (convert_actual): Add handling for arguments passed by reference.
1223
 
1224
2008-01-08  Doug Evans  
1225
 
1226
        * dbxread.c (read_dbx_symtab): Fix indentation.
1227
 
1228
2008-01-07  Thiago Jung Bauermann  
1229
 
1230
        * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1231
        (valarith.o): Depend on dfp.h.
1232
        (valops.o): Likewise.
1233
        * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1234
        (set_decnumber_context): New function.
1235
        (decimal_check_errors): Likewise.
1236
        (decimal_from_number): Likewise.
1237
        (decimal_to_number): Likewise.
1238
        (decimal_from_string): Use set_decnumber_context and
1239
        decimal_check_errors.
1240
        (decimal_from_integral): New function.
1241
        (decimal_from_floating): Likewise.
1242
        (decimal_to_double): Likewise.
1243
        (promote_decimal): Likewise.
1244
        (decimal_binop): Likewise.
1245
        (decimal_is_zero): Likewise.
1246
        (decimal_compare): Likewise.
1247
        (decimal_convert): Likewise.
1248
        * dfp.h (decimal_from_integral): New prototype.
1249
        (decimal_from_floating): Likewise.
1250
        (decimal_to_double): Likewise.
1251
        (decimal_binop): Likewise.
1252
        (decimal_is_zero): Likewise.
1253
        (decimal_compare): Likewise.
1254
        (decimal_convert): Likewise.
1255
        * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1256
        call to value_from_decfloat.
1257
        * valarith.c: Include dfp.h.
1258
        (value_args_as_decimal): New function.
1259
        (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1260
        (value_logical_not): Likewise.
1261
        (value_equal): Likewise.
1262
        (value_less): Likewise.
1263
        (value_pos): Likewise.
1264
        (value_neg): Formatting fix.
1265
        * valops.c: Include dfp.h.
1266
        (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1267
        * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1268
        (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1269
        (value_from_decfloat): Remove expect_type argument.
1270
        * value.h (value_from_decfloat): Update prototype.
1271
 
1272
2008-01-07  Vladimir Prus  
1273
 
1274
        Ignore change in name of dynamic linker during
1275
        execution on Solaris.  This also unbreaks pending breakpoints.
1276
 
1277
        * solist.h (struct target_so_ops): New field same.
1278
        * solib-svr4.c (svr4_same): New.
1279
        (_initialize_svr4_solib): Register svr4_same.
1280
        * solib.c (update_solib_list): Use ops->same, if available.
1281
 
1282
2008-01-06  Christopher Faylor  
1283
 
1284
        * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1285
        when using MS-DOS paths.
1286
 
1287
2008-01-05  Pedro Alves  
1288
 
1289
        * NEWS: Mention --pid and --core command line behaviour changes.
1290
 
1291
2008-01-05  Pedro Alves  
1292
 
1293
        * main.c (captured_main): Remove 'count' varible and the
1294
        ALIGN_STACK_ON_ENTRY block that used it.  Error out if --core and
1295
        --pid options were issued simultaneously.  If an explicit pid
1296
        option was passed, don't fallback to core file.  Detect extra
1297
        arguments better in the presence of explicit pid or core
1298
        arguments.
1299
 
1300
2008-01-05  Joel Brobecker  
1301
 
1302
        * ada-lang.c (ada_which_variant_applies): Correctly compute
1303
        the value of the discriminant when the variant record is packed.
1304
 
1305
2008-01-04  Joel Brobecker  
1306
 
1307
        * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1308
        that are used to differentiate homonyms.
1309
 
1310
2008-01-04  Jerome Guitton  
1311
 
1312
        * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1313
        when the type is an anonymous pointer type.
1314
        (ada_check_typedef): Avoid a seg fault when the type is null.
1315
        * ada-typeprint.c (print_array_type): Add support for pointer
1316
        to packed arrays.
1317
 
1318
2008-01-04  Paul N. Hilfinger  
1319
 
1320
        * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1321
 
1322
2008-01-04  Joel Brobecker  
1323
 
1324
        * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1325
        EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1326
 
1327
2008-01-04  Joel Brobecker  
1328
 
1329
        * ada-exp.y (chop_separator): New function.
1330
        (write_selectors): Rewrite to re-use chop_separator.
1331
        (ada_nget_field_index, get_symbol_field_type): New functions.
1332
        (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1333
        expressions.
1334
 
1335
2008-01-03  Thiago Jung Bauermann  
1336
 
1337
        * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1338
        of SYMBOL_VALUE when working with function symbols.
1339
 
1340
2008-01-03  Joel Brobecker  
1341
 
1342
        * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1343
        expressions.  These expressions do not need to be rewriten.
1344
 
1345
2008-01-03  Joel Brobecker  
1346
 
1347
        * dwarf2read.c (read_enumeration_type): Flag type as stub if
1348
        the given die is a declaration.
1349
 
1350
2008-01-03  Joel Brobecker  
1351
 
1352
        * ada-lang.c (ada_array_bound_from_type): Make non-static.
1353
        Handle properly the case when the index type is an enumerated type.
1354
        Do not return the subtype of the bounds type, just return the
1355
        bounds type directly - this is not needed and is more consistent
1356
        with what we do for arrays when no XA parallel type exists.
1357
 
1358
2008-01-03  Joel Brobecker  
1359
 
1360
        * ada-lang.c (static_unwrap_type): Add forward declaration.
1361
        (template_to_static_fixed_type): Fields of dynamic types sometimes
1362
        also need to be unwrapped. Take this into account.
1363
        (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1364
        (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1365
        * ada-typeprint.c (ada_print_type): Get the typename from
1366
        the original type, not the base type.
1367
 
1368
2008-01-03  Jerome Guitton  
1369
 
1370
        * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1371
        (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1372
        Update calls to ada_to_fixed_type.
1373
        (ada_template_to_fixed_record_type_1): Ditto, but without looking
1374
        for the tag.
1375
        (ada_to_fixed_type): Add check_tag parameter; do not look for
1376
        tag if null.  When looking for a tag, use a fixed record type.
1377
        * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1378
        * ada-valprint.c (printable_val_type, ada_value_print): Update
1379
        calls to ada_to_fixed_type.
1380
 
1381
2008-01-03  Luis Machado  
1382
 
1383
        * doublest.c (convert_floatformat_to_doublest): Call
1384
        floatformat_to_doublest instead of floatformat_to_double and use
1385
        DOUBLEST variables.
1386
        (convert_doublest_to_floatformat): Call floatformat_from_doublest
1387
        instead of floatformat_from_double and use DOUBLEST variables.
1388
 
1389
2008-01-03  Nick Hudson  
1390
 
1391
        * MAINTAINERS (Write After Approval): Add self.
1392
 
1393
2008-01-03  Joel Brobecker  
1394
 
1395
        * symfile.c (set_initial_language): Make non-static.
1396
        * symfile.h (set_initial_language): Add declaration.
1397
        * language.c: #include "symfile.h".
1398
        (set_language): Call set_initial_language if the frame language
1399
        could not be determined.
1400
 
1401
2008-01-03  Paul N. Hilfinger  
1402
 
1403
        * eval.c (evaluate_subexp_for_address): Provide frame address to
1404
        locate_var_value only if it will be needed.
1405
 
1406
2008-01-02  Jan Kratochvil  
1407
 
1408
        * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1409
 
1410
2008-01-02  Joel Brobecker  
1411
 
1412
        * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1413
        when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1414
        This is needed to make sure that any other treatment applied
1415
        to the resulting value does not fail for spurious reason,
1416
        such as trying to take the address of this value.
1417
 
1418
2008-01-02  Joel Brobecker  
1419
 
1420
        * ada-lang.c (ada_value_equal): Dereference reference types when
1421
        comparing arrays.
1422
 
1423
2008-01-01  Daniel Jacobowitz  
1424
 
1425
        Updated copyright notices for most files.
1426
 
1427
2008-01-01  Christopher Faylor  
1428
 
1429
        * win32-nat.c (psapi_module_handle): Remove static.
1430
        (get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to
1431
        return first module found if base_address is zero.  Don't initialize
1432
        psapi function pointers here.  Convert to cygwin paths when
1433
        appropriate.
1434
        (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1435
        executable name.  Use get_module_name when that fails or when
1436
        !__CYGWIN__.
1437
        (_initialize_psapi): New function.  Initialize psapi stuff before it is
1438
        needed or issue a warning if it is not found.  Move psapi_module_handle
1439
        here.
1440
 
1441
2008-01-01  Joel Brobecker  
1442
 
1443
        * ada-lang.c (ada_remove_trailing_digits): New function.
1444
        (ada_remove_po_subprogram_suffix): New function.
1445
        (ada_decode): Improve. Move the description of the algorithm
1446
        directly inside the code, instead of in the function global
1447
        description.
1448
 
1449
2008-01-01  Joel Brobecker  
1450
 
1451
        * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1452
        and always print the dereferenced value.
1453
 
1454
2008-01-01  Joel Brobecker  
1455
 
1456
        * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1457
        of the case where the first argument is a reference.
1458
        (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1459
 
1460
2008-01-01  Joel Brobecker  
1461
 
1462
        Implement support for Ada interface types.
1463
 
1464
        * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1465
        (ada_is_ignored_field): Ignore fields that are a dispatch table
1466
        of a tagged type.
1467
 
1468
2008-01-01  Joel Brobecker  
1469
 
1470
        * top.c (print_gdb_version): Update copyright year.
1471
 
1472
2008-01-01  Joel Brobecker  
1473
 
1474
        * ChangeLog-2007: New ChangeLog rotation.
1475
        * ChangeLog: Reset for 2008.
1476
        * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1477
        ChangeLog-2007.
1478
 
1479
For older changes see ChangeLog-2007.
1480
 
1481
Local Variables:
1482
mode: change-log
1483
left-margin: 8
1484
fill-column: 74
1485
version-control: never
1486
coding: utf-8
1487
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.